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)?
La solution
One does not simply use .NET 4 in an older environment.
Autres conseils
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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow