WeOnlyDo Support

Frequently Asked Question

I'm receiving "Mixed mode assembly is built against version '' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information." What can I do?
Last Updated 12 years ago

If you receive this error, please do the following:

1) In your project directory, create a file named "<your_exe_file.exe.config" 
2) Paste following code into it:

---------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" />
    </startup>

    <runtime>
        <generatePublisherEvidence enabled="false" />
    </runtime>
</configuration>
---------------------------------------------------------------------------------

This should resolve this problem, and allow you to properly compile your application.

Please Wait!

Please wait... it will take a second!