Only while running on VS 2010: COMException: Catastrophic Failure: Error Code: -2147418113
问题 I am stuck with this error: while trying to use an old DLL in .Net Framework 4.0 If I change project target type to 3.5 then no error appears. The strange is that all this happen Only while running inside VS 2010. If I run the executable from Windows Explorer, no problem occurs in 3.5 and 4.0. Seems like some bug in vshost? VS 2010 Express, or .net framework? UPDATE: This BUG only happen on WPF Standalone Application, if a change it to XBAP WPF I can use the dll without bigger problems, only