Creating and publishing packages in GitHub
Go https://github.com/settings/tokens and create 2 tokens. One with a write:packages scope and one with a read:packages scope for consumption. The first token I called Package Publisher and the second one Package Reader. Save them somewhere safe.
Creating NuGet config file
Create nuget.config file. Something like this:
Instead of "github" you can use any other description you like. It just a name of the entry. Then you need to put this file in the same directory as solution for your package and for every solution that will [...Read More]
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="github" value="https://nuget.pkg.github.com/<YourOrganizationName>/index.json" /> </packageSources> </configuration>