nuget-license 3.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global nuget-license --version 3.0.10                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local nuget-license --version 3.0.10                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=nuget-license&version=3.0.10                
nuke :add-package nuget-license --version 3.0.10                

Nuget License Utility Tests Quality Gate Status NuGet

A .net tool to print and validate the licenses of .net code. This tool supports .NET (Core), .NET Standard and .NET Framework projects. Native c++ projects are supported too but only in the .NET Framework variant of nuget-license. These projects will not work if the tool is installed via dotnet tool install.

nuget-license tool

Install tool

dotnet tool install --global nuget-license

Uninstall tool

dotnet tool uninstall --global nuget-license

Usage

Usage: nuget-license [options]

Options:

Option Description
--version Show version information.
-i\|--input <INPUT_FILE> The project (or solution) file for which to analyze dependency licenses
-ji\|--json-input <INPUT_JSON_FILE> File in json format that contains an array of all files to be evaluated. The Files can either point to a project or a solution.
-t\|--include-transitive If set, the whole license tree is followed in order to determine all nuget's used by the projects
-a\|--allowed-license-types <ALLOWED_LICENSES> File in json format that contains an array of all allowed license types
-ignore\|--ignored-packages <IGNORED_PACKAGES> File in json format that contains an array of nuget package names to ignore (e.g. useful for nuget packages built in-house). Note that even though the packages are ignored, their transitive dependencies are not. Wildcard characters (*) are supported to specify ranges of ignored packages.
-mapping\|--licenseurl-to-license-mappings <LICENSE_MAPPING> File in json format that contains a dictionary to map license urls to licenses.
-override\|--override-package-information <OVERRIDE_PACKAGE_INFORMATION> File in json format that contains a list of package and license information which should be used in favor of the online version. This option can be used to override the license type of packages that e.g. specify the license as file.
-d\|--license-information-download-location <DOWNLOAD_LICENSE_INFORMATION> When set, the application downloads all licenses given using a license URL to the specified folder.
-o\|--output <OUTPUT_TYPE> This parameter allows to choose between tabular and json output. Allowed values are: Table, Json, JsonPretty. Default value is: Table.
-err\|--error-only If this option is set and there are license validation errors, only the errors are returned as result. Otherwise all validation results are always returned.
-include-ignored\|--include-ignored-packages If this option is set, the packages that are ignored from validation are still included in the output.
-exclude-projects\|--exclude-projects-matching <EXCLUDED_PROJECTS> This option allows to specify project name(s) to exclude from the analysis. This can be useful to exclude test projects from the analysis when supplying a solution file as input. Wildcard characters (*) are supported to specify ranges of ignored projects. The input can either be a file name containing a list of project names in json format or a plain string that is then used as a single entry.
-?\|-h\|--help Show help information.

Example tool commands

Show help

nuget-license --help

Validate licenses for .csproj file

nuget-license -i project.csproj

Generate machine readable output

nuget-license -i project.csproj -o jsonPretty
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
3.0.13 38,526 9/18/2024
3.0.12 893 9/16/2024
3.0.11 143 9/16/2024
3.0.10 3,191 9/4/2024
3.0.9 12,945 8/15/2024
3.0.9-beta.3 65 8/14/2024
3.0.9-beta.2 66 8/14/2024
3.0.9-beta.1 62 8/14/2024
3.0.8 1,760 8/12/2024
3.0.7 770 8/7/2024
3.0.6 1,954 7/25/2024
3.0.5 5,378 7/10/2024
3.0.4 1,593 7/4/2024
3.0.3 20,112 4/9/2024
3.0.3-beta.4 2,394 3/4/2024
3.0.3-beta.3 84 2/27/2024
3.0.2 6,328 2/20/2024
3.0.1 6,883 1/8/2024
3.0.0 326 12/9/2023
3.0.0-alpha.10 88 12/9/2023