Visual Studio freezes or hangs on startup

后端 未结 13 662
夕颜
夕颜 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:02

    Check Task Manager. I had a Setup.exe running (not sure what it was installing), but once I killed it, VS unfroze.

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

    This is becuase of rendering IDE UI try this hope it will resolve

    1- Open "Visual Studio"

    2- Select "Options" from the top menu

    3- Navigate to "Environment => General"

    4- Unchecked "Optimize rendering for screens with different pixel densities"

    5- Restart visual studio

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

    In my case, VS 2013 Professional was hanging on startup because the license was no longer valid.

    Last item in the log file:

    <entry>
        <record>367</record>
        <time>2015/07/13 20:11:05.051</time>
        <type>Information</type>
        <source>UserConnection</source>
        <description>myemailaddrs@gmail.com signed in for IDE user</description>
    </entry>
    

    And on the msdn.microsoft.com subscription page: "Your subscription is no longer active, contact your administrator."

    I had to get an updated subscription from my employer.

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

    Have you tried resetting user settings? It did help me:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData
    
    0 讨论(0)
  • 2020-12-13 04:11
    devenv.exe /ResetSettings
    

    or

    devenv.exe /ResetSetting
    

    Worked fine for me

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

    I had the same issue with Community 2015 version. I solved it with Vidas Vasiliauskas suggestion, which was to erase user settings.

    The thing is that I previously had enterprise 2015 version, in which I was logged in with my Microsoft account. When trying to open community version, it tried to do so with that same account, which I believe was the cause of the issue.

    Therefore, I would suggest to those with the same problem to run the following command at Command Line Prompt:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData

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