Hello @RR
You might need to also change sgen.exe.config as per the following Microsoft documentation.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I working in a solution containing a VB and a C# project. It runs well from Visual Studio (2013)development environment and as an executable in the development PC.
When deployed to another PC I keep getting this 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"
This error occurred when an event is trigger from a vb form to display the c# form.
I modified the configuration for the C# project as follow:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/> sku=".NETFramework,Version=v4.0"/>
</startup></configuration>
Thanks
Hello @RR
You might need to also change sgen.exe.config as per the following Microsoft documentation.