Nuget causing massive slowdown in VS2012

Topics: General
Jan 21, 2013 at 3:55 PM

We have a 100+ MVC project in VS2012.   It uses Nuget to resolve many public and internal packages.   When I started VS2012, I noticed it was unusually sluggish.   For grins, I fired up Fiddler and sign the following Nuget Http request over and over and over...

 

HTTP/1.1 200 OKCache-Control: no-cacheContent-Type: application/atom+xml;charset=utf-8Vary: Accept-EncodingServer: Microsoft-IIS/7.0DataServiceVersion: 2.0;X-AspNet-Version: 4.0.30319X-Powered-By: ASP.NETDate: Mon, 21 Jan 2013 16:52:26 GMTContent-Length: 537
<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xml:base="https://nuget.org/api/v2/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">  <title type="text">FindPackagesById</title>  <id>https://nuget.org/api/v2/FindPackagesById</id>  <updated>2013-01-21T16:52:26Z</updated>  <author>    <name />  </author>  <link rel="self" title="FindPackagesById" href="FindPackagesById" /></feed>

 

What is wrong?

Jan 22, 2013 at 8:46 PM

What version of NuGet do you have installed?

When you start VS, did you do anything related to NuGet? For example, did you open the Package Manager console?

Also, can you share a few Fiddler request/response trace?

Jan 22, 2013 at 10:17 PM

Vs 2012

Nuget 2.2

When VS2012 starts running very slow, I see the following over and over and over in Fiddler:

 

HTTP/1.1 200 OKCache-Control: no-cacheContent-Type: application/atom+xml;charset=utf-8Vary: Accept-EncodingServer: Microsoft-IIS/7.0DataServiceVersion: 2.0;X-AspNet-Version: 4.0.30319X-Powered-By: ASP.NETDate: Mon, 21 Jan 2013 16:52:26 GMTContent-Length: 537

<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xml:base="https://nuget.org/api/v2/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">  <title type="text">FindPackagesById</title>  <id>https://nuget.org/api/v2/FindPackagesById</id>  <updated>2013-01-21T16:52:26Z</updated>  <author>    <name />  </author>  <link rel="self" title="FindPackagesById" href="FindPackagesById" /></feed>

 

Had to delete my nuget packages to get VS2012/Nuget out of its funk.   :(