<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>9 Jan 2015 13:31:43 Z</lastBuildDate><pubDate>13 Sep 2014 05:06:00 Z</pubDate><description>Greetings,&#13;
&#13;
I have a 64-bit Framework 4.0 C# assembly that works great until I use the WD DoNetDelegate. Then I get the following error:&#13;
&#13;
Error returned by .NET Framework:&#13;
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.&#13;
&#13;
After many, many google searches, I only find that you need a .config file with startup parameters. However, adding that with a WD generated EXE file does not seem to use that .config file.&#13;
&#13;
So, I have done everything I can to make sure all references in my c# assembly use framework 4.0 (minimum for the SDK I am using) but still I get the error. When I select the system.dll file for reference from the 4.0 framework, it changes the path to be x86. I have found that if I add a WD .NET reference to System.dll first, it prevents the problem. But why?&#13;
&#13;
Any comments or suggestions would be appreciated</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error/read.awp</link><title>Mixed Mode Assembly error in WD</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>gvin</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-49825/read.awp</comments><pubDate>9 Jan 2015 13:31:43 Z</pubDate><description>Hi !&#13;
&#13;
We had an .NET 2.0 dll used in our application and everything was working fine until we imported a .NET 4.0 dll.&#13;
Since …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-49825/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-49825/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error/read.awp">Mixed Mode Assembly error in WD</source><title>Re: Mixed Mode Assembly error in WD</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48020/read.awp</comments><pubDate>15 Sep 2014 17:13:00 Z</pubDate><description>Hi Alexandre,&#13;
&#13;
There are many such posts and I have the useLegacyV2RuntimeActivationPolicy="true" in both a C# app.config and …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48020/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48020/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error/read.awp">Mixed Mode Assembly error in WD</source><title>Re: Mixed Mode Assembly error in WD</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48013/read.awp</comments><pubDate>15 Sep 2014 15:09:00 Z</pubDate><description>Hi Jeff,&#13;
&#13;
Maybe this post can help you: http://stackoverflow.com/questions/2455654/what-additional-configuration-is-necessary-…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48013/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error-48013/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48006-mixed-mode-assembly-error/read.awp">Mixed Mode Assembly error in WD</source><title>Re: Mixed Mode Assembly error in WD</title></item></channel></rss>
