Can I call DLL.net 2.0 in .net 3.5?

I port to .net 3.5 and I want to know if I can call from my 3.5 application, old .dll dll methods?

Some external APIs are in the .net 2.0 dll. Therefore, I need it.

Please let me know. Thanks.

+4
source share
5 answers

Yes. Can you do this.

+10
source

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

+4
source

Yes, .NET remains compatible with older versions. It may be some outdated code, but it will still work. Only up to 2.0 can there be compatibility issues.

+2
source

Yes.
In general, you can run .Net 2.0 applications on a computer with newer versions of .Net and using the DLL is no different.

0
source

Of course, both managed soit codes should work as a .net 3.5 build.

0
source

Source: https://habr.com/ru/post/1313481/


All Articles