Visual Studio 2013 hangs when opening a solution

后端 未结 27 1277
天命终不由人
天命终不由人 2020-12-12 18:51

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 wh

相关标签:
27条回答
  • 2020-12-12 19:20

    Deleting Test Results from my TestResults folder actually did the trick for me. Just another thing to try.

    0 讨论(0)
  • 2020-12-12 19:21

    Sometimes it's enough to simply delete the ".v12.suo" file and try to open the solution again. Helped me many times when VS2013 was freezing on loading a project.

    0 讨论(0)
  • 2020-12-12 19:21

    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.

    0 讨论(0)
  • 2020-12-12 19:21

    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\

    0 讨论(0)
  • 2020-12-12 19:21

    Lots of suggestions here and elsewhere but the only thing that permanently worked for me had to do with the start-up project I'd set. This is what I did:

    1. Delete the .suo file as suggested elsewhere.
    2. Start VS and open the solution. All should be well at this point.
    3. Leave the start-up project as-is, even if it's not what you want.
    4. Save the solution. (Possibly do as someone else suggests and open a file, clean, build/re-build, etc, but I didn't have to do any of that.)
    5. Close the solution and exit VS.
    6. Re-start VS and open the solution.
    7. Change the start-up project to whatever it should be
    8. Save the solution. (Possibly again do the open file, clean, build/re-build, etc.)
    9. Close the solution and exit VS.
    10. Restart VS and re-open the solution and all should be well.

    This might or might not work for you but I'd tried everything I could find - registry changes, debugging VS from a second VS session, you name it - but nothing else worked for more than a single start/open.

    0 讨论(0)
  • 2020-12-12 19:22

    I just removed "packages" folder from root of solution and it helped for me (Visual Studio Express 2015)

    0 讨论(0)
提交回复
热议问题