I can’t create a project written by a former employee on my Windows 7 workstation. It works fine on the old XP machine that it used, and I have an exact copy.
Error 1 The mixed-mode assembly is based on the runtime version v2.0.50727 'and cannot be loaded into runtime 4.0 without additional configuration information. C: \ Work \ Scan \ v2.5.9.99 \ ConfigurationTool \ ConfigurationTool \ SGEN ConfigurationTool
I was already looking for a solution to this error message, but I found that the solutions provided do not solve the problem :(
So my configuration file began, now the parameter LegacyV2RuntimeActivationPolicy is used.
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> <requiredRuntime version="v4.0.20506"/> </startup> </configuration>
I tried each offered combination, as well as a different profile for the full and client versions, as indicated in this thread without any results.
What additional configuration is needed to reference a .NET 2.0 mixed-mode assembly in a .NET 4.0 project?
Does anyone have a fix or any ideas on what might cause the difference between the copies on different machines?
source share