开发者

Referencing dlls built with older .Net versions

开发者 https://www.devze.com 2022-12-27 18:12 出处:网络
In a project using .Net4 - should there be any issues referencing dlls built for older versions of .Net? We\'re talking 3rd Party dlls here.

In a project using .Net4 - should there be any issues referencing dlls built for older versions of .Net? We're talking 3rd Party dlls here.

I'm asking this as a general question. Specifically I have a problem referencing FluentNHibernate.dll - built with .Net3.5. It worke开发者_开发百科d justed fine before I updated my project from .Net3.5 to .Net4.


No in general you can have a .Net 4.0 project reference any dlls even if they were compiled against older versions of .Net.

Looking at your linked question: It could be that libraries that inject/modify IL are affected by versioning problems because the injections are not under the control of the .Net runtime system.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号