I cannot build a project, written by an ex-employee, on my Windows 7 workstation. It works perfectly fine on the old XP machine he used and I have an exact copy.
Error 1 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. C:\Working\Scan\v2.5.9.99\ConfigurationTool\ConfigurationTool\SGEN ConfigurationTool
I have already searched for a solution to this error message but I have found that the solutions provided do not resolve the problem :(
This is how my config file started off, useLegacyV2RuntimeActivationPolicy is already present.
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
<requiredRuntime version="v4.0.20506"/>
</startup>
</configuration>
I have tried every suggested combination as well as different profile for full and client versions, as outlined in this thread with no results.
What 'additional configuration' is necessary to reference a .NET 2.0 mixed mode assembly in a .NET 4.0 project?
Has anyone got a fix or any ideas on what could be causing the difference between the copies on different machines?
Just solved it try this:
Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With