Visual Studio freezing (crashing) while loading solution

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:

enter image description here

(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?


Usually removing of the hidden .vs folder in solution directory fixes the problem.


Possible solutions:

  • Delete .vs folder as mentioned above

  • Clear temp files from %USERPROFILE%\AppData\Local\Temp

  • Readjust source control in Tools -> Options -> Source control -> Plugins, set to None, Save, close VS. Then reopen it and reset the plugin.

There is no particular order, but one of them might help.