简体   繁体   English

混合3.5和4.0 .net项目

[英]Mixing 3.5 and 4.0 .net projects

I have been getting some really weird errors when I have been trying to mix version 4.0 and 3.5 projects. 在尝试混合版本4.0和3.5的项目时,我遇到了一些非常奇怪的错误。 Are they not compatible? 它们不兼容吗? Is it possible to make them? 有可能制造它们吗?

I've had no problems using .net 3.5 assemblies in .net 4. The converse is not true, i've had issues MEF failing in a 3.5 application and DirectoryCatalogs when a .net 4 assembly was in the same folder. 在.net 4中使用.net 3.5程序集时,我没有遇到任何问题。反之则不成立,当.net 4程序集位于同一文件夹中时,MEF在3.5应用程序和DirectoryCatalogs中失败。

there seem to be many related answers: 似乎有许多相关的答案:

How to reference .NET 4.0 assembly within .NET 3.5 projects 如何在.NET 3.5项目中引用.NET 4.0程序集

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM