4

I am trying to find out if it is possible to use a .Net Framework 4.7.2 assembly in another .Net 6 libraries or .Net 6 application. I tried this with some sample projects, and at least I could add a reference to a .NET 4.7.2 in .NET 6 library or application. But based on some posts at Stack Overflow (Can I add a reference to a .NET Framework DLL from a .NET 6 project?) and reading the .Net compatibility, it seems not to be possible.

So is it possible or not?

To be honest, the huge amount of different .NET flavors and the continuous renaming makes it really hard to see the wood for the trees.

1
  • Please edit to be specific (also, you can remove comments like "some posts at Stack Overflow" - there's no possible way to know what posts you're referring to, and it doesn't really add to your question). As written, it's unclear what your specific question is. Further, this really seems like more of a rant, as written. And this really isn't the place for rants. Commented Apr 27, 2022 at 23:55

1 Answer 1

5

There is a compatibility mode in .NET 5+ and .NET Core 3.1 that should allow you to do what you want. Check it out here!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.