I've met with a strange problem. I had 7 projects in the solution. I had to add another MVC project. Now when the document (from the new project) is opened (for example HomeController.cs
) and when this project is initializing at the start, it freezes the whole IDE like this:
(Some projects do not load)
After that, I have to kill the process. When I open VS again and fast click on another project (which is initializing) the freezing issue is gone. I have no idea what can cause a problem like this. I've tried with and without ReSharper but I get the same result. Also, I restored default settings of VS. Also repaired whole VS.
Maybe someone had the same problem and could give some helpful advice?
Possible solutions:
Delete
.vs
folder as mentioned aboveClear temp files from
%USERPROFILE%\AppData\Local\Temp
Readjust source control in
Tools
->Options
->Source control
->Plugins
, set toNone
,Save
, close VS. Then reopen it and reset the plugin.There is no particular order, but one of them might help.
I used to have this problem, it was solved just by double clicking any of the stuck projects. This nudges the loading process somehow and causes unloaded projects to complete its loading.
Open the project as a website instead of loading solution file
Usually removing of the hidden .vs folder in solution directory fixes the problem.
Delete the .suo file in the solution folder.
I am pretty sure I found this answer somewhere on Stackoverflow before, but now I can't find it anymore. Credits to whoever came up with this.