When I open Microsoft Visual Studio 2010 by double-clicking on its shortcut icon, my project cannot be run in debug mode because Visual Studio crashes: I receive a message saying that 'Microsoft
Visual Studio has encountered a problem and
needs to close.'
The Problem Event Name in the Problem signature is CLR20r3.
However, when I run devenv.exe from the command line, I do not encounter this problem. Why is this, and how can I stop Visual Studio from crashing at all?