GitHub NuGet packages and how to provide native binaries in their own directory
Creating and publishing packages in GitHub
Creating tokens
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:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="github" value="https://nuget.pkg.github.com/<YourOrganizationName>/index.json" />
</packageSources>
</configuration>
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]