I’ve run into this, and just helped a fellow Microsoftie with the same issue…apparently there’s an issue with Visual Studio 2010 Beta 2 that can cause it to crash on startup if a particular setting is in place from your last session…I’ll dig deeper to see if I can find information on which specific setting or settings are the culprit, so hopefully folks can avoid the issue in the first place, but if you find yourself staring at an error message saying that VS 2010 cannot start, try this at the command prompt:
If you have the same issue I had, this should sort it out for you.
I’ll follow up with an update to this post if/when I figure out which setting is involved.
Turns out this one’s been around for a while…the Visual Studio Team Blog posted their recommended fixes last October. Their solution looks to be slightly less intrusive (only resets user settings, rather than all settings), so I’d recommend following their advice first. The VS team post also provides details on what causes the error, and notes that it’s already been addressed for subsequent releases.