Visual Studio freezes or freezes on startup

For some time I used Visual Studio and found that when you open Visual Studio and open the project, all the files that were opened last time remain open.

This causes my Visual Studio to freeze or crash on startup.

I use many plugins in my installation and wonder if there is a way to prevent this.

+53
visual studio
Jul 15 2018-11-11T00:
source share
12 answers

Run: Devenv/ResetSkipPkgs

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

or

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

 devenv.exe /SafeMode 

This will start Visual Studio with add-ons disabled.

+29
Jul 15 2018-11-11T00:
source share

Have you tried resetting the user? It helped me:

 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /ResetUserData 
+27
Oct 21 '15 at 2:00
source share

You can change the startup settings of Visual Studio 2010 .

Tools β†’ Options β†’ Startup β†’ At startup β†’ Show empty environment β†’ Save

Visual Studio has a limit of plugins. Use only plugins that are best for you. For developers, there is a list of the best Visual Studio 2010 plugins.

Visual Studio 2010 - Recommended Extensions

+10
Jul 15 2018-11-11T00:
source share
 devenv.exe /ResetSettings 

or

 devenv.exe /ResetSetting 

Worked fine for me

+8
Dec 12 '16 at 13:35
source share

I had the same issue with the 2015 version. I solved this with the Vidas Vasiliauskas offer, which was supposed to erase the user settings.

The fact is that I was previously enterprise 2015, in which I logged in with my Microsoft account. When trying to open a community , he tried to do this with the same account, which, in my opinion, caused the problem.

Therefore, I suggest that those with the same problem run the following command on the command line:

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

+5
Jul 07 '16 at 22:22
source share

In my case, VS 2013 Professional crashed at 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.

+1
Jul 13 '15 at 21:06
source share

When it freezes on the splash screen:

Perhaps the antivirus solution is blocking Visual Studio.

Kaspersky Internet Security 16.0.1.445 causes Visual Studio 2015 to hang on the splash screen. The old version 16.0.0.614 works fine.

+1
Jun 21 '16 at 8:25
source share

Clear tag 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/>

+1
Jan 04 '18 at 13:06
source share

I had this problem when using the Git version control plugin.

I ran devenv.exe /SafeMode

And then in Options β†’ Source Control β†’ Plug-in Selection, make sure that β€œNone” or β€œVisual Studio Team Foundation Server” is selected. After that, VS started fine.

0
Dec 06 '17 at 14:55
source share

Check task manager. I had Setup.exe running (not sure what it installed), but as soon as I killed it, VS defrosted.

0
Dec 29 '17 at 15:19
source share

I recently got VS2017 stuck at startup. so I did it and worked for me: 1 - run cmd as administrator: run the following:

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

2- after starting VS, go to Tools => Extensions and Updates: then remove all plugins that were installed recently (pay attention to the installation date) and unnecessary)

0
Nov 08 '18 at 11:39
source share

This helped me: I deleted all the SDK, JDK, and JRE folders that were implemented in VS settings earlier. After that, I used devenv.exe/ResetUserData and devenv.exe/ResetSettings .

Worked for me on Visual Studio 2015.

0
Jun 13 '19 at 16:32
source share



All Articles