Visual Studio freezes or hangs on startup

后端 未结 13 664
夕颜
夕颜 2020-12-13 03:23

I have been using Visual Studio for a while and found that when I open visual studio and open the project all the files that were open last time remain open.

This ca

相关标签:
13条回答
  • 2020-12-13 04:18

    Clear the tag's elements in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

    Also do the same with C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config

    The tag should just be <runtime/>

    0 讨论(0)
  • 2020-12-13 04:19

    This helped me: I deleted all SDK, JDK & JRE folders that had been rooted in VS settings before. After that I used devenv.exe /ResetUserData and devenv.exe /ResetSettings.

    Worked for me on Visual Studio 2015.

    0 讨论(0)
  • 2020-12-13 04:20

    I was having this issue when using the Git source-control plugin.

    I ran devenv.exe /SafeMode

    And then in Options -> Source Control -> Plug-in Selection made sure "None" or "Visual Studio Team Foundation Server" was selected. After that, VS started normally.

    0 讨论(0)
  • 2020-12-13 04:22

    Run: Devenv /ResetSkipPkgs

    http://msdn.microsoft.com/en-us/library/ms241276%28VS.80%29.aspx

    or

    You are probably looking for the /SafeMode command line switch:

    devenv.exe /SafeMode
    

    This will start Visual Studio with all add-ins disabled.

    0 讨论(0)
  • 2020-12-13 04:22

    I have got recently VS2017 stucked on start up . so I did this and worked for me : 1 - start cmd as admin : run the following:

    cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE" devenv.exe /SafeMode

    2- once VS is started , go to Tools => Extentions and Updates : then uninstall all plug-ins that installed recently ( notice the installed date ) and unnecessary ones)

    0 讨论(0)
  • 2020-12-13 04:27

    When it hangs on the splash screen:

    It could be that an anti-virus solution is blocking Visual Studio.

    Kaspersky Internet Security 16.0.1.445 makes Visual Studio 2015 hang on the splash screen. The older version 16.0.0.614 works fine.

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