CodeCop and .NET 4.6 - why won't it run?

285 Views Asked by At

I have recently tried Code Cop 1.3.1 - a method interceptor.

However won't run when .NET Framework 4.6 is installed.

1

There are 1 best solutions below

1
AndyT On BEST ANSWER

The solution to this is to use the following runtime element set your app.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  </startup>
  <runtime>
    <useLegacyJit enabled="1" />
  </runtime>
</configuration>