I've been debbugging VS 2005 and set the 'Start external program' to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
But after hitting F5 I got this error:
Error while trying to run project: Unable to start program 'C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
Operation not supported. Unknown error: 0x8013134b.
I can debug successfully if I set it to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
Thanks!
Best Answer
This error occurs when there is a CLR version mismatch between what the debugger is expecting and what is actually running in the debuggee process. Visual Studio 2010 is using CLR 4.0 which is likely causing the problem.
Here are a couple of articles that will help you resolve the problem