Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Hangs while installing NuGet

When i try to install a particular package VS 15 hangs, and it took more than half an hour to complete the installation. But the same package is installed in VS13 within 2 mins and there is no problem with it. I have tried almost all version of NuGet package manager of VS15.

like image 551
user3610920 Avatar asked Mar 18 '16 04:03

user3610920


1 Answers

I have the same issue, here are the following steps I did to minimize the issue:

  • Use the Package Manager console instead of Manage Nuget package when installing packages. (i.e. install-nuget )

  • Make sure the package is not yet existing on the packages folder of Visual Studio solution.

  • Make sure the package is not also existing in Content and Scripts folder of your Solution Explorer

  • Run your Visual Studio 2015 in Administrator mode.

When I use the Manage Nuget Package, my VS 2015 Update 3 will just hangs up, then ultimately will end up not responding even though I will leave it even for 2 hours! Certainly there is an issue, but the above steps speed's up the installation though it might take until 10 minutes to finish the installation.

like image 72
Willy David Jr Avatar answered Oct 14 '22 20:10

Willy David Jr