ThirdLicense 1.4.0
dotnet tool install --global ThirdLicense --version 1.4.0
dotnet new tool-manifest
dotnet tool install --local ThirdLicense --version 1.4.0
#tool dotnet:?package=ThirdLicense&version=1.4.0
nuke :add-package ThirdLicense --version 1.4.0
Third License
<p align="center"> <a href="https://github.com/oAGoulart/awesome-nollm?tab=readme-ov-file#ai-free-content-badge"> <img alt="AI-free content" src="https://github.com/oAGoulart/awesome-nollm/blob/main/assets/nollm-b-31px.png?raw=true"> </a> <a href="https://codeberg.org/pleonex/thirdlicense/releases"> <img alt="Last release" src="https://codeberg.org/pleonex/thirdlicense/badges/release.svg"> </a> <a href="https://codeberg.org/pleonex/thirdlicense"> <img alt="Last Commit" src="https://img.shields.io/gitea/last-commit/pleonex/thirdlicense?gitea_url=https%3A%2F%2Fcodeberg.org"> </a> <a href="https://codeberg.org/pleonex/thirdlicense/actions"> <img alt="Build" src="https://codeberg.org/pleonex/thirdlicense/badges/workflows/build.yml/badge.svg" /> </a> <a href="https://choosealicense.com/licenses/mit/"> <img alt="MIT License" src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat" /> </a> </p>
.NET tool to generate third-party notice files from all the transitive dependencies of a .NET project.
Installation
Get the latest release from the 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 10.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.configfiles.
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)
------------------------------------
[...]
Build
Install .NET SDK 10.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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.