You will get the following error:
Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
The fix:
In your App.Config file add following at the end but before </configuration >
<startup uselegacyv2runtimeactivationpolicy="true" >
<supportedruntime version="v4.0" >
<requiredruntime version="v4.0.20506" >
</requiredruntime >
</supportedruntime >
</startup >
No comments:
Post a Comment