2

Closed

7 hours for update-package -reinstall

description

Due to some people throwing away references created by nuget we had to do Update-Package -reinstall in the package management console and it ran for 7 hours (and failed to add system.web references, but that's another story)

The solution has 10 projects, All of them have a packages.config file. 2 of the projects have a packages.config with content:
<?xml version="1.0" encoding="utf-8"?>
<packages />
In total there are 420 packages to be installed. The biggest project has 69 packages installed

The packages all get pulled from an internal NugetGallery feed over https and the issue does not seem to be caused by the feed server. Http requests take about 0.1 seconds to complete (checked with fiddler).

Plugins in Visual studio:
As a side note: update-Package takes 45 minutes on some solutions with many packages installed (even when there is nothing to update)
Closed Jan 10 at 10:53 PM by deepakverma
it took less than 5 mins to update four projects with around 200 packages installed.

comments

deepakaravindr wrote Dec 6, 2013 at 10:05 PM

Checked-in: 45fc2d397cc6a28c5b730dd37d3b0fdbde4848df