Nuget makes adding/removing items from solution very slow

Topics: General
Apr 16, 2013 at 9:14 AM
Hi,

During an update of Telerik Tools Kendo UI many files are deleted and added to the solution. This process is extremely slow (takes more than 30 minutes). When we look at the process monitor we see that nuget.exe is started and stopped for each of the files being added.

Questions:
  • Is anyone else experiencing this problem?
  • Is there a work arround for this (fi can we keep nuget.exe in memory)?
Regards
Paul Sinnema
Jul 1, 2013 at 11:31 AM
Anyone?
Coordinator
Jul 2, 2013 at 6:53 PM
I do not know what Telerik Tools Kendo UI is. Is this a NuGet package, a Visual Studio Extension, or something else? How are you updating it?

Thanks,
Jeff
Jul 9, 2013 at 5:53 PM
Are you tied into TFS? I too have experienced this.

Jeff, it includes many css and js files: http://nuget.org/packages/KendoUIWeb/
Coordinator
Jul 9, 2013 at 6:17 PM
That package definitely has a lot of content! If you're connected to TFS, I could certainly see how this could be slow.

We have put quite a bit of effort into making package install/uninstall as fast as possible when connected to TFS, but this looks like a good test case package to re-run our tests again.

Can you verify that you're working with TFS, @PaulSinnema?
Developer
Jul 10, 2013 at 12:25 PM
@PaulSinnema: when you say "during an update", what did you do? Did you update the package or restore it? Updating packages should not spawn the nuget.exe process.

Also, we have improved the performance of uninstallation quite a bit in the upcoming 2.7 release. If you can give it a try, by downloading our daily build at http://build.nuget.org/nuget.tools.vsix, that will help us verify the scenario.