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!
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
Probably because a mix of managed / unmanaged code. Try to set 'Native Only' at
project -> properties -> Debugging -> Debugger Type ->
For me it helped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With