Visual Studio 2010 crashes repeatedly

前端 未结 14 1721
迷失自我
迷失自我 2021-01-31 17:35

I\'ve been running Visual Studio 2010 (the official release) for some time now. Lately, VS will crash 10+ times during my 8 hour work day. In VS2008, crashes were common when wo

相关标签:
14条回答
  • 2021-01-31 18:18

    I disabled “Options"-"Evnironment"-"Add-in/Micros Security"->"Allow macros to run", and fixed the problem.

    0 讨论(0)
  • 2021-01-31 18:20

    I was having a similar problem and this helped me

    http://connect.microsoft.com/VisualStudio/feedback/details/618802/visual-studio-random-frequent-crash

    Running this from the command prompt seemed to fix it. It hasn't crashed for the whole day today.

    regsvr32 c:\Windows\System32\ole32.dll
    
    0 讨论(0)
  • 2021-01-31 18:20

    I had the "Microsoft Visual Studio 2010 has stopped working" error, imediately when Visual Studio 2010 was starting. Fault module was clr.dll in my case. Only rebooting helped sometimes.

    I solved it by removing .NET completely and reinstalling it.

    Be aware that if you updated to .NET 4.5 this includes .NET 4, so you have to remove and reinstall .NET 4.5

    0 讨论(0)
  • 2021-01-31 18:20

    I had the same problem. I cleared my settings. Configured environment to use C# development settings. Then i disabled all extensions against which disable button was present. I enabled them one by one while opening, running and closing solutions. I found the offending extension to be .Net reflector v 8.5.0.179 by red gate. I had VS2010, VS2012 and VS2013 all installed on my windows 8.1 enterprise 64bit. All of them had the same issue. Whenever i closed the solution VS would crash. Hope it helps.

    0 讨论(0)
  • 2021-01-31 18:23

    Just to help people who search it: It was webex instant messenger related part, but not Cisco itself. The cause was a component in Studio Power Tools relevant to integration with messenger. Reinstall power tools but without messaging integration.

    In other occasion it is almost always a corporate antivirus authentication helper thing. It required to manually remove registry entries which cause background TFS logins break the studio at random moments.

    0 讨论(0)
  • 2021-01-31 18:24

    Do you think you have installed any extra Extensions which might lead to frequent crashes?

    You can try

    Devenv.exe /SafeMode
    

    to start in Safe mode. You can also try

    Devenv.exe /Log
    

    Which will log all activity. Have not tried this so don't know What activities are logged.

    Visual Studio 2010 Command Line Switches

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