Home > database >  Link .Net Framework Libraries in .Net Core projects
Link .Net Framework Libraries in .Net Core projects

Time:10-08

I'm currently developing an application with .Net 5 and aiming to migrate to .Net 6 when it's released.
I'm considering using a library that's implemented with the old .Net Framework 4.5. So I'm wondering how about the compability when I've migrated to .Net 6 and if there are other risks in using such a library in general.
Unfortunately, I didn't find much about the that. If you have good references, please share them.

CodePudding user response:

Since your project is on .NET Framework 4.5, it'll be targeting enter image description here


Are there other risks?

It would be best to use a more updated library, which does the same functionality as the older library.

Of course, such a library may not exist hence why MSFT tries hard to maintain compatibility.

Other than the library not being able to take advantage of the latest .NET security & performance improvements that have been introduced with newer versions of .NET, you'll be fine.

  • Related