An error occurred while trying to restore packages. Please try again

user3311522 picture user3311522 · Mar 3, 2014 · Viewed 79.4k times · Source

I am trying to restore the missing nuget packages and it keeps giving me this Error:

An error occurred while trying to restore packages. Please try again.

Any experience solving this? How can I find out what exactly is causing the error?

Answer

Haacked picture Haacked · Mar 4, 2014
  1. Make sure you upgrade to the latest NuGet (http://docs.nuget.org/docs/start-here/installing-nuget).
  2. Make sure you're doing package restore "The Right Way" http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html

That should resolve the issue.