Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NuGet staying 'Retrieving Information' or 'No results found' in VS 2013

All of a sudden, NuGet stopped working for all projects. I've tried it on 4 different computers in the office, and all of them stopped working.

If I go to 'Manage NuGet Packages', it says 'No items found' when the node Online > nuget.org is selected.

This was working some time ago I last checked, and all of a sudden it stopped. Any ideas?

I am using Visual Studio 2013. I've tried removing and reinstalling NuGet from Tools & Extensions, to no avail.

like image 692
Karl Cassar Avatar asked Apr 02 '14 12:04

Karl Cassar


People also ask

How do I fix a missing NuGet package?

Quick solution for Visual Studio usersSelect the Tools > NuGet Package Manager > Package Manager Settings menu command. Set both options under Package Restore. Select OK. Build your project again.

How do I run a NuGet package restore to generate this file?

Open powershell. Navigate to folder containing the project file. Execute dotnet restore <projectFile>. csproj.

How do I clean my NuGet package?

Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings menu. Click Clear All NuGet Cache(s) button in options dialog then clearing process is started. Once NuGet cache location is cleared, click ok button.


1 Answers

I have the same problem here.

https://twitter.com/nuget/status/451324276172283904 they're on the case.

In the mean time I used this trick: http://www.hanselman.com/blog/HowToAccessNuGetWhenNuGetorgIsDownOrYoureOnAPlane.aspx

(just grabbed the cache from the various computers at the office and set up a common folder - that way we have something for later, too)

like image 82
lejordet Avatar answered Oct 20 '22 16:10

lejordet