user3610920
user3610920

Reputation: 1642

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.

Upvotes: 10

Views: 5711

Answers (1)

Willy David Jr
Willy David Jr

Reputation: 9131

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.

Upvotes: 1

Related Questions