aspnet / Tooling

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

Package Restore Unreliable if Editing package.json #237

Open RehanSaeed opened 8 years ago

RehanSaeed commented 8 years ago

If you edit the package.json file while a package restore operation is taking place (The restore can take quite a long time so this is very possible) the restore sometimes errors. To fix this I have to resort to one or more of the following:

My particular scenario is that I have a feature selection wizard in my ASP.NET MVC Boilerplate project template that edits the package.json file on project creation. However, at this time a package restore is already taking place.

Presumably there is a file system watcher, watching for changes to the package.json file and changing it causes a package restore operation. So my above changes to the file shouldn't in theory cause any problems.

sayedihashimi commented 8 years ago

@madskristensen thoughts?

sayedihashimi commented 8 years ago

TFS Bug#231251

webtools-bot commented 7 years ago

The GitHub Issue Tracker for the aspnet/Tooling repo is being deprecated in favor of Visual Studio's Report a Problem tool.

If this issue is still a problem with the RTW release of Visual Studio 2017, please report a new issue using the Report a Problem tool. While you can still use .NET Core and ASP.NET Preview tools with Visual Studio 2015, Visual Studio 2017 is now the officially supported tool for developing .NET Core and ASP.NET Core projects.

By using the Report a Problem tool (available in both VS 2017 and VS 2015), you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See Visual Studio's Talk to Us page for more details.

Please use the discussion topic here for feedback and questions on the deprecation of this issue tracker. Thanks!