Visual Studio 2012 crashes every time I try to debug with error CLR20r3

后端 未结 10 1643
Happy的楠姐
Happy的楠姐 2021-02-07 08:27

Every time I try to debug one of my apps I get the below error message. Anyone have any ideas? I tried running Visual Studio in safe mode but I get the same thing. I also tri

相关标签:
10条回答
  • 2021-02-07 08:51

    In my case, none of above solutions works for me, even tried the Repair option, have to do a complete un-installation by command line:

    vs_ultimate.exe /uninstall /force
    

    Note: Depending your visual studio version, it might be vs_professional.exe or vs_premium.exe more information can be found here: http://support.microsoft.com/kb/2771441?wa=wsignin1.0

    then finish a complete re-installation

    0 讨论(0)
  • 2021-02-07 08:52

    Open cmd and navigate to

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
    

    or

    C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
    

    and try to type the following commands:

    1. devenv.exe /log

    2. devenv.exe /safemode

    3. devenv.exe /resetskippkgs

    4. devenv.exe /installvstemplates

    5. devenv.exe /resetsettings

    6. devenv.exe /resetuserdata

    Source : MSDN

    0 讨论(0)
  • 2021-02-07 08:55

    Not sure what was wrong but to fix it I had to delete the .sln files and the .csproj files and get them from TFS again for it to work. Don't know what was wrong with them but that worked. Thanks for your help guys!

    Edit:

    Above turned out to only work for a small amount of time. What seems to have made it work (for the last hour at least) was changing the number of Maximum Worker Processes in IIS back down to 1. Completely lost on why this worked :/

    0 讨论(0)
  • 2021-02-07 08:57

    The issue is with web essentials, open VS 2012 Tools - Extensions and Updates - Uninstall web essentials

    You can reinstall it if you want, seems to work fine

    Thanks,

    Sebastian

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