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

后端 未结 10 1612
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:32

    Just delete all the *.map files and all should be fine.

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

    This one worked for me. I ran the Installer again, selected Modify, and then un-selected Microsoft Web developer tools. I never used those tools, so I have no solution for people who does.

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

    In may case the problem was caused by .NET Reflector. After uninstalling .NET Reflector debugging was working again without any problem.

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

    http://social.msdn.microsoft.com/Forums/eu/vssetup/thread/0376db8f-4761-4ae5-9af2-98c53216318a#VS_IDE_unexpected_problems

    And if you would rather just read it here:

    When unexpected problems occurs, the key point is trying to isolate potential causes. So it’s good to make the situation as simple as possible.

    There are a few things we can try if Visual Studio IDE is not working as expected: a) Try to run devenv /ResetSettings (in command prompt) to eliminate the related potential settings problem.

    b) Try disabling Add-ins (e.g. “Tools” | “Add-in Manager”) or run “devenv.exe /SafeMode”.This can eliminate the possibility that third party Add-ins or packages are causing problems. (For more detailed VS command line switches information, see: http://msdn2.microsoft.com/en-us/library/xee0c8y7.aspx )

    c) Try creating a new project. Sometimes corrupted project settings can cause problems. These are project specific.

    d) Make sure that we have the latest service pack applied. For example, Visual Studio 2005, please refer to Microsoft® Visual Studio® 2005 Team Suite Service Pack 1 http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC (This download installs Service Pack 1 for Microsoft® Visual Studio® 2005 Standard, Professional, Team Editions) or Microsoft® Visual Studio® 2005 Express Editions Service Pack 1 http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E (This download installs Service Pack 1 for Microsoft® Visual Studio® 2005 Express Editions)

    e) Try to reboot the operating system to safe mode. This can help to isolate whether any other applications are interfering with Visual Studio. Note that some features (like IIS) are not available under safe mode. Please check whether this can be applied or not. In addition to safe mode, we can also try “clean boot”: How to configure Windows XP to start in a "clean boot" state http://support.microsoft.com/kb/310353 .

    f) Try to create a new user account. This can help isolate user profile corruption related causes.

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

    Since it had to do something with the debugging-environment of vs, I found a solution here:

    http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/0376db8f-4761-4ae5-9af2-98c53216318a#VS_IDE_unexpected_problems

    It says at a) to reset the local user settings for the IDE using the command "devenv /ResetSettings" (in command prompt - the devenv.exe is located in VS-Install-Path\Common7\IDE) to eliminate the related potential settings problem. All customizations to the VS settings get resetted - this worked for me - no uninstallation necessary.

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

    I tried to recover new solution files and start in save mode but it didn't work. I then deleted the .suo file since I new it has do to with local environment settings. That worked pretty fine for me.

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