dotnet-project-licenses
2.0.0
See the version list below for details.
dotnet tool install --global dotnet-project-licenses --version 2.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-project-licenses --version 2.0.0
#tool dotnet:?package=dotnet-project-licenses&version=2.0.0
nuke :add-package dotnet-project-licenses --version 2.0.0
Nuget License Utility
A .net core tool to print the licenses of a project. This tool support .NET Core and .NET Standard projects.
Usage
Usage: dotnet-project-licenses [options]
** Options:
| Option | Description |
| -i, --input
| Project Folder |
| --allowed-license-types
| Simple json file of a text array of allowable licenses, if no file is given, all are assumed allowed |
| -j, --json
| (Default: false) Saves licenses list in a json file (licenses.json) |
| --include-project-file
| (Default: false) Adds project file path to information when enabled. |
| -l, --log-level
| (Default: Error) Sets log level for output display. Options: Error,Warning,Information,Verbose. |
| --manual-package-information
| Simple json file of an array of LibraryInfo objects for manually determined packages. |
| --licenseurl-to-license-mappings
| Simple json file of Dictinary<string,string> to override default mappings |
| -o, --output
| (Default: false) Saves as text file (licenses.txt) |
| --outfile
| Output filename |
| --projects-filter
| Simple json file of a text array of projects to skip. Supports Ends with matching such as 'Tests.csproj' |
| --packages-filter
| Simple json file of a text array of packages to skip. |
| -u, --unique
| (Default: false) Unique licenses list by Id/Version |
| -p, --print
| (Default: true) Print licenses. |
| --help
| Display this help screen. |
| --version
| Display version information. |
dotnet-project-licenses tool
Install tool
dotnet tool install --global dotnet-project-licenses
Uninstall tool
dotnet tool uninstall --global dotnet-project-licenses
Using tool
dotnet-project-licenses --help
dotnet-project-licenses -i projectFolder
Print unique licenses:
dotnet-project-licenses -i projectFolder -u
** Create output file
dotnet-project-licenses -i projectFolder -u -o
** Create json output file
dotnet-project-licenses -i projectFolder -u -o -j
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
3.0.0-alpha.9 | 26,471 | 11/25/2022 |
3.0.0-alpha.8 | 162 | 11/23/2022 |
3.0.0-alpha.6 | 243 | 10/7/2022 |
3.0.0-alpha.5 | 143 | 9/3/2022 |
3.0.0-alpha.4 | 123 | 9/3/2022 |
3.0.0-alpha.2 | 116 | 9/3/2022 |
3.0.0-alpha.1 | 146 | 9/3/2022 |
2.7.1 | 864,398 | 3/15/2023 |
2.7.0 | 19,213 | 2/23/2023 |
2.6.0 | 75,508 | 1/21/2023 |
2.5.0 | 49,852 | 11/29/2022 |
2.4.0 | 393,814 | 5/18/2022 |
2.3.13 | 32,501 | 4/11/2022 |
2.3.12 | 3,935 | 4/5/2022 |
2.3.11 | 44,291 | 1/14/2022 |
2.3.10 | 7,703 | 1/9/2022 |
2.3.9 | 2,857 | 12/26/2021 |
2.3.8 | 2,041 | 12/18/2021 |
2.3.6 | 15,809 | 10/16/2021 |
2.3.5 | 10,501 | 9/22/2021 |
2.3.4 | 9,970 | 8/15/2021 |
2.3.3 | 8,941 | 7/14/2021 |
2.3.1 | 36,064 | 4/20/2021 |
2.3.0 | 3,040 | 4/15/2021 |
2.2.10 | 11,541 | 4/4/2021 |
2.2.8 | 2,896 | 3/25/2021 |
2.2.7 | 18,153 | 2/13/2021 |
2.2.6 | 19,575 | 10/31/2020 |
2.2.5 | 7,433 | 8/26/2020 |
2.2.4 | 7,618 | 8/6/2020 |
2.2.3 | 2,208 | 7/27/2020 |
2.2.2 | 2,251 | 7/16/2020 |
2.2.0 | 4,253 | 6/6/2020 |
2.1.0 | 2,183 | 5/10/2020 |
2.0.0 | 2,099 | 5/5/2020 |
1.2.0 | 3,884 | 3/29/2020 |
1.1.1 | 3,374 | 9/8/2019 |
1.1.0 | 1,857 | 6/16/2019 |
1.0.1 | 1,940 | 3/1/2019 |