ThirdLicense 1.2.0

.NET 6.0
dotnet tool install --global ThirdLicense --version 1.2.0
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 ThirdLicense --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ThirdLicense&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ThirdLicense --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Third License MIT License

.NET tool to generate third-party notice files from all the transitive dependencies of a .NET project.

Installation

Get the latest release from the GitHub release tab or install it as a global tool from nuget.org.

Run as a program

If you download the zip file, you can run the tool as a .NET program as follow: dotnet ThirdLicense.dll.

Install as a .NET global tool

You can install it as a .NET global tool and it will be added to your PATH environment variable. Install the latest stable release from nuget.org with:

dotnet tool install --global ThirdLicense

or from a local downloaded NuGet package (.nupkg):

dotnet tool install --global --add-source <folder_with_nupkg> ThirdLicense

Then, you can run it just by the command name: thirdlicense

Usage

To run the tool make sure you have installed .NET 6.0 runtime.

The program accepts the following arguments:

  • project: the project file to analyze for third-parties.
  • output: the output file path. By default in the current directory with name THIRD-PARTY-NOTICES.TXT.
  • endpoint: optional extra NuGet repository endpoint to look for packages. It will also load the enabled sources, including from local nuget.config files.

Example of output file:

License notice for NuGet.Protocol (v5.6.0+636570e68732c1f718ede9ca07802d7b1cc69aa0)
------------------------------------

https://github.com/NuGet/NuGet.Client at 636570e68732c1f718ede9ca07802d7b1cc69aa0

https://aka.ms/nugetprj

Copyright © Microsoft Corporation. All rights reserved.

Licensed under Apache-2.0

Available at https://licenses.nuget.org/Apache-2.0


License notice for System.CommandLine (v2.0.0-beta1.20253.1)
------------------------------------
[...]
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.0 4,189 11/26/2021
1.1.0 10,015 5/25/2020
1.0.0 325 5/23/2020