简体   繁体   中英

can i call a .net 2.0 dll in .net 3.5?

I am migrating to .net 3.5 and I want to know whether I can call from my 3.5 application, old .net 2.0 dll's methods?

Some external API's are in .net 2.0 dll. So I need those.

Kindly let me know. Thanks.

Yes. You can do that.

.NET 3.5 is nothing more than .NET 2.0 SP2 with some additional assemblies. This means that .NET 3.5 is .NET 2.0, to a large extent.

Yes, .NET remains compatible with old versions. There might be some obsolete code but it will still work. Only before 2.0 there can be compatibility issues.

Yes.
Genrally, you can run .Net 2.0 applications on a computer with newer versions of .Net, and using a DLL isn't different.

当然,两者都是托管代码soit应该像调用.net 3.5程序集一样工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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