Visual Studio Freezing On Opening Project

前端 未结 10 1839
深忆病人
深忆病人 2021-02-05 13:35

My Visual Studio seems to be freezing/lagging when I open a existing project. I have added NHibernate framework into my code and it seems to lag my computer (at least that\'s wh

相关标签:
10条回答
  • 2021-02-05 13:54

    What, if any Add-ins do you have installed?

    Edit:

    One suggestion I would have then is to systematically disable each of your add-ins and see if performance changes and if it does research the culprit and see if there any updates available.

    0 讨论(0)
  • 2021-02-05 13:55

    I had same problem. Delete following folder. C:\Users\UserName\AppData\Local\Microsoft\VisualStudio

    0 讨论(0)
  • 2021-02-05 13:58

    I had a hunch that something had been corrupted with one of my NuGet packages, and completely deleted the \packages subfolder and its contents. When I reopened the solution, all projects loaded successfully without hanging.

    From there, I restored the previously deleted packages from the NuGet Package Manager Console and I was back up and running.

    0 讨论(0)
  • 2021-02-05 14:01

    Had the same problem. Closed Visual Studio 2010, opened again Running as Administrator, went to Extension Manager, uninstalled Nuget Package Manager, restarted Visual Studio 2010 running as regular user, opened problem solution, solution opened fine.

    Nuget Package Manager seems to be the cause. My problem solution is using EF 4.3 Code First which interacts heavily with the Package Manager Console, but that may just be a coincidence.

    0 讨论(0)
  • 2021-02-05 14:05

    For me, removing the suo file (from the v14 sub directory) solved the problem...

    0 讨论(0)
  • 2021-02-05 14:06

    As answer by Visual Studio 2015 Freezing White Loading Solution delete the .vs hidden directory solved the issue for me.

    I am using Visual Studio 2017 Community Edition.

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