somehow my VS does point to the wrong feed ... what is the feed address ... not easy to find
I had a similar issue with a fresh install of Visual Studio 2019 Preview...
To fix it, on the toolbar click Tools > NuGet Package Manager > Package Manager Settings
Then on the Options window expand the NuGet Package Manager tree option
Click on Package sources
Click the PLUS + icon to add a new package source (the feed url)
In the Name textbox give the package source a suitable name.
In the Source textbox, type the URL: https://api.nuget.org/v3/index.json
Click Update button > then OK button
I reloaded the Nuget Package Manager window and it brought up the full list of packages.
In visual studio, go to Tools menu -> library package manager -> package manager settings.
Earlier Visual Studio configuration for NuGet 1.2 points at https://go.microsoft.com/fwlink/?LinkID=206669
This link resolves to http://packages.nuget.org/v1/FeedService.svc/ (don't use this, just for verification)
Update In Visual Studio 2013, I get https://www.nuget.org/api/v2/ (as "Available package sources") and https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/ (as "Machine-wide package sources")
(Thanks @mheyman)
As of VS2015 (SP2?) the default and only feed available appears to be the MS-Curated "Microsoft and .NET" one - https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/, which is missing a LOT of packages.
For VS2015 you can resolve this by opening as Admin, going to:
https://api.nuget.org/v3/index.json
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