Debug - CLR Versions
Please note that if you are debugging managed code using an unmanaged application, the debugger might fail to detect the correct version of the Common Language Runtime (CLR) to load. You should specify a config file if you don’t already have one for the debug application specified in the Debug command of your script. The config file should reside in the same directory as your application, and take the format:
where name is the name of your application.
The version of the CLR you should specify should match the version loaded by the managed code invoked by the debuggee.
Sample config file:
<requiredRuntime version="version "/>
where version is the version of the CLR targeted by your plugin or COM code.
For further information, see http://www.msdn2.microsoft.com/en-us/library/9w519wzk.aspx.