What is the URL for NuGet Gallery to access (nuget.org) from VS2010 via Package Manager Console? I tried to use the Web site URL (http://nuget.org/List/Packages) but it didn't work.
The default source is nuget.org, which has the following package source URL: https://api.nuget.org/v3/index.json .
Regardless of how packages are hosted, you access them by adding them to the list of available sources in NuGet. Config . This can be done in Visual Studio as described in Package Sources, or from the command line using nuget sources . The path to a source can be a local folder pathname, a network name, or a URL.
With NuGet 3, the url has changed again, it's now https://api.nuget.org/v3/index.json
.
Microsoft Docs should always list the latest feed address: Use packages from nuget.org > Enable the upstream on an existing feed.
The Microsoft Go link in the accepted answer above is an old one, the correct URL is: http://go.microsoft.com/fwlink/?LinkID=230477
This points to https://www.nuget.org/api/v2/, which is the NuGet version 2 package source feed.
I tend to use the actual URL, not the Go link anyway. As proven by the two different Go links, there is no guarantee it won't change as well, so I find it more explicit to point to the actual URL.
The Microsoft Go links are, in my opinion, a bad idea. They completely obscure the actual web URL, which defeats the purpose of HTTP addresses in the first place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With