Develop dll.NET 3.5 by uploading it to project 4.0 - will this cause problems?

I am developing an Arctools.NET 3.5 C # DLL to download a .NET 4.0 application. Will this cause problems?

+3
source share
2 answers

Yes, this should work fine.

We had several DLLs written in C # on .NET v2.0 and deployed on v3.5 without any problems. The same thing happened for v3.5 - v4.0. Running side-by-side in .NET, combined with the v3.5 information stored in your DLL at compilation, allows you to do this. You should always try this in a test environment so that your v3.5 DLL does not call any obselete APIs that break changes with v4.0. If you use the DLL version v3.5 using pinvoke or other similar methods to directly invoke the Windows API, you can run certain tests there to ensure that they still work properly.

+6
source

The simple answer is no.

.NET 4 DLL . , :)

+4

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


All Articles