Using a .net4 based dll from .net2 based app not working for website

天涯浪子 提交于 2019-12-24 11:08:10

问题


Given this reference: https://code.msdn.microsoft.com/windowsdesktop/Using-a-NET-4-Based-DLL-bb141db3

Is it possible to add a .net2/3.5 website (not a web project) project to this solution and make it work with the adapter? I've tried but no luck. I keep getting error:

Could not load file or assembly 'Net4Assembly' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

来源:https://stackoverflow.com/questions/40666392/using-a-net4-based-dll-from-net2-based-app-not-working-for-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!