ThirdLicense 1.3.1

dotnet tool install --global ThirdLicense --version 1.3.1
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.3.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ThirdLicense&version=1.3.1
nuke :add-package ThirdLicense --version 1.3.1

Third License Build status MIT License

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


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

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 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


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

The program accepts the following arguments:

  • project: the project file to analyze for third-parties or its folder.
  • 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)
------------------------------------ at 636570e68732c1f718ede9ca07802d7b1cc69aa0

Copyright © Microsoft Corporation. All rights reserved.

Licensed under Apache-2.0

Available at

License notice for System.CommandLine (v2.0.0-beta1.20253.1)


Install .NET SDK 8.0 and go to the src folder to run dotnet build.

To create a runtime application run dotnet publish -c Release and to prepare the NuGet run dotnet pack -c Release.

Product Compatible and additional computed target framework versions.
.NET 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
1.3.1 1,673 11/18/2023
1.3.0 133 11/18/2023
1.2.0 8,633 11/26/2021
1.1.0 12,257 5/25/2020
1.0.0 505 5/23/2020