The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. Falling back to NuGet Local Cache

I started getting the following error while trying to use Install-Package:
The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. Falling back to NuGet Local Cache
It was driving me insane as it started out being intermittent and restarting Visual Studio would fix it for a while.  Finally did some googling and turns out you can specify a -Source parameter like so:
Install-Package AutoMapper -Source nuget.org
This worked for me.

Comments

SERP House said…
Thanks for sharing the best information and suggestions, If you are looking for the best Google Scraping, then SERP House. Highly energetic blog, I’d love to find out some additional information.