Visual Studio has started crashing hard on startup with the error "Exception has been thrown by the target of an invocation."
Friday I was successfully using VS 2010 Ultimate with the latest R#, but this started Sunday. First error to catch my eye was Event log entry:
Faulting application name: DevEnv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3
Faulting module name: System.Design.ni.dll, version: 4.0.30319.1, time stamp: 0x4ba1e1c2
Exception code: 0xc0000005
Fault offset: 0x000fc724
Faulting process id: 0xf98
Faulting application start time: 0x01cbc78bb0685fae
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\DevEnv.exe
Faulting module path: C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Design\0fedf245cd0239816f52fe60ee4e18b4\System.Design.ni.dll
Report Id: f03ac868-337e-11e0-ad74-0026b9c5d5d5
Ran ngen update at VS 2010 command prompt to no avail. Uninstalled latest R# 5.1, but that's not helped either.
/SafeMode and /ResetSettings have not helped either. They both crash though slightly differently. Safemode crashs with the same error. ResetSettings reports the error via WER without giving the Exception has been thrown... message box.