aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

Please consider allowing automatic nuget/bower/npm package to be tuned off #917

Open ciel opened 7 years ago

ciel commented 7 years ago

My biggest complaint with Visual Studio 2015 and 2017 RC, is that NuGet, bower, and nodejs try to keep doing an automatic restore when I save changes to a file.

This is frustrating, as it frequently locks up my machine and forces me to restart Visual Studio. Thus far, the only option I've found is to just disable package restoring entirely for nuget and not use bower or nodejs.

It would be really nice if there was just a menu option, for instance close to the Debug toolbar button, with a drop down of choices for running these restores on our own terms.

scottaddie commented 7 years ago

You may have already found this, but in VS 2017 RC, go to Tools --> Options --> Projects and Solutions --> Web Package Management --> Package Restore. Change the Restore On Save setting to False for both Bower and npm: package_restore

ciel commented 7 years ago

I do not have such a section in Visual Studio 2017 RC.

scottaddie commented 7 years ago

I have the VS 2017 RC update installed from December 12th. You can get it from here.

mlorbetske commented 7 years ago

@ciel did @scottaddie's suggestion help?