Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
VS 2017 RC3 crashes on using update from Solution-wide package management #4474
From @glatzert on February 1, 2017 10:29
Trying to update packages via the solution-wide nuget package manager, will stop without further notice and keep VS non-responding.
I tried a smaller solution, where the update works, but with a mid-sized one (about 25-30 Projects) the update process will always make VS hang. Single projects will get the update, so if you restart multiple times and try again and again it will eventually work.
Copied from original issue: aspnet/Tooling#983
referenced this issue
Feb 2, 2017
I have not reproduced a crash in the solution-wide NuGet Package Manager on VS 2017 RC3 with @glatzert's solution.
The solution must first be migrated from an earlier version of Visual Studio. There are several migration issues. For example, I hit this non-fatal error during migration: dotnet/project-system#1213 / dotnet/project-system#1290. For me the actual restore operation did not crash Visual Studio or make Visual Studio unresponsive.
Just to make sure, we are talking about the same things:
BUT my current machine went aaaaalll the way from dotnet beta5 to the current state - so that might perhaps be some whatsoever side effect.
I think we're on the same page, @glatzert. After migrating the solution (part automated, part manual), I did open NuGet Package Manager for the solution and tried to update all packages solution-wide that needed updating. This update succeeded for me and did not result in a crash or VS becoming unresponsive.
It would be great if you could try your scenario on the latest RC build (RC4), which was released on February 7th. You can get it either through this link or by updating within Visual Studio itself.
I copied my solution to some path on my machine and tried migrating, and updating.
After I used my solution with TFSVC connected Things are not working that smoothly, but switching to lightweight loading and back solved that so I can move on - thanks for your assistance.