Visual Studio 2013 hangs when opening a solution

2019-01-21 05:01发布

I installed VS2013 (v12.0.21005.1) and added ReSharper 8 (v8.0.2000.2660) a day or two ago. That day it was fine. Now I'm lucky if I can get it to open one solution in a whole day. It opens OK by itself, but when I try and open a solution from within - via the menu - it hangs, badly. If I right-click a solution in Windows Explorer and 'open with VS 2013', it opens then hangs, in exactly the same way. Every now and again, for hours, I get a little notice that it's busy with something.

Anyone know what could be wrong, before I endure a reinstall that doesn't fix the problem?

27条回答
萌系小妹纸
2楼-- · 2019-01-21 05:58

For me , whether computer crashes with power outage, or sometimes with mandatory reboots in the middle of the night. What does WORK for me

DELETE ALL FILES IN THIS DIRECTORY:

C:\Users\yourusername\AppData\Local\Microsoft\WebsiteCache\

查看更多
可以哭但决不认输i
3楼-- · 2019-01-21 06:01

I went into the %LOCALAPPDATA%\JetBrains\ReSharper\ and opened all the directories looking for the SolutionCaches, and emptied all of them. Problem solved. The application was quite large, so this helped.

查看更多
Lonely孤独者°
4楼-- · 2019-01-21 06:01

For me this appears to have something to do with the project having the MVC 4 project type guid (E3E379DF-F4C6-4180-9B81-6769533ABE47). Removing this guid from the .csproj resolved the hanging for me. (An additional wiping of the .vs folder was required after removing the guid.)

查看更多
登录 后发表回答