Debug - CLR Versions

Return to Introduction  Previous page  Next page

Please note that if you are debugging managed code using an unmanaged application, the debugger might fail to detect the correct version of the CLR to load. You should specify a config file if you don?/span>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:

name.exe.config

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:

<configuration>

           <startup>

                   <requiredRuntime version="version "/>

           </startup>

</configuration>

where version is the version  of the CLR targeted by your plugin or COM code.

For further information, see http://msdn2.microsoft.com/en-us/library/9w519wzk.aspx.