-
Notifications
You must be signed in to change notification settings - Fork 266
Private NuGet (Github) set up
Thang Chung edited this page Jun 6, 2021
·
1 revision
Fork this repository!
Set global nuget for accessing in Visual Studio
# edit C:\Users\<current user>\AppData\Roaming\NuGet\NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="github" value="https://nuget.pkg.github.com/thangchung/index.json" />
</packageSources>
<packageSourceCredentials>
<github>
<add key="Username" value="<your github username>" />
<add key="ClearTextPassword" value="<Github Token>" />
</github>
</packageSourceCredentials>
</configuration>