NuGet Package on GitHub

  1. Develop a NuGet package.

  2. Publish the NuGet package(s) to<ORGANIZATION>/index.json.

  3. Add this as a source with dotnet CLI.

$ nuget add source<ORGANIZATION>/index.json --name<ORGANIZATION> ---username <organization> --password <PERSONAL_ACCESS_TOKEN>

If you are not using Windows, you may need to use the --store-password-in-clear-text option.

  1. Install the package as usual.
$ dotnet tool install --global MyNugetPackage


62 Words

2021-03-28 03:07 +0000