Accessing Custom NuGet Feed
Visual Studio NuGet UI
- Select Project → Manage Nuget Packages
Upload In Progress
- Click on Setting
- Select Package Sources, Click Add, and set sources. Then Click Ok.
Url : https://test-proget.agatedev.net/nuget/nuget-proxy/v3/index.json
- Uncheck nuget.org because Nuget Agate will try to get data from nuget.org too.
Direct Edit Nuget.Config
-
Find
Nuget.Config
file on your project root directory. If there is none, create a new one. -
Add / edit Package Source Section
<?xml version="1.0" encoding="utf-8"?> <configuration> <!--... other config section--> <packageSources> <!--change url to agate feed url--> <add key="Agate NuGet" value="https://nuget-global.agate.id/v3/index.json" /> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> </packageSources> <!--... other config section--> </configuration>
-
to disable package resolving from
[nuget.org](http://nuget.org)
feed<?xml version="1.0" encoding="utf-8"?> <configuration> <!--... other config section--> <disabledPackageSources> <add key="nuget.org" value="true" /> </disabledPackageSources> <!--... other config section--> </configuration>