Use .Net 4.0 UserControl in .Net 2.0
-
03-06-2021 - |
Question
I created a UserControl in .Net 4.0 App, and now I need that UserControl in another App which is in .Net 2.0 environment. Is it possible to use my UserControl in the .Net 2.0 App (VS 2005)?
Solution
One does not simply use .NET 4 in an older environment.
OTHER TIPS
No, but the other way around works, .net2 -> .net4
If you're not using any features above .net2, you could recompile with net2.0 as target platform.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow