Downgrade an application from .net 4.0 to 3.5

前端 未结 3 696
旧时难觅i
旧时难觅i 2021-01-02 07:29

I have been developing an application in VS2010 and compiling it for the .NET 4.0 as the target framework. After integrating a library into my application, I get the followi

3条回答
  •  独厮守ぢ
    2021-01-02 07:57

    You should be able to make this work by configuration settings in app.Config.

    Just add the useLegacyV2RuntimeActivationPolicy="true" flag to your appConfig in the startup section. This causes the .NET 4 runtime to handle older mixed-mode assemblies.

提交回复
热议问题