I am planning to write a cross-platform library that should run on Xamarin, UWP and WPF application targeting Windows 7? From the docs (https://docs.microsoft.com/en-us/dotnet/standard/net-standard) Windows7 was never mentioned. Does that mean I can't use my library in Windows7 even though WPF application is built on the latest .Net framework (4.6)? Does that mean there is an OS dependency also in addition to .Net framework?
thanks !
NET 5/6+ gives us an updated version of Windows Presentation Foundation (WPF). Unlike Web Forms or the Windows Communication Foundation (WCF), Microsoft brought this . NET Framework technology into .
It has support for all kinds of . NET applications, including the Windows desktop platforms such as WPF, Windows Forms, and WinUI 3.0.
WPF is a . NET Core UI framework for building Windows desktop applications.
You can use your library in .NET Framework project. But if you will use .NET Framework 4.6 max you cannot use versions of .NET Standard above 1.3. If you target your library to higher version of .NET Standard it will be impossible to run/compile app at machine with .NET Framework 4.6.
Microsoft says (its from your link):
In general, we recommend you to target the lowest version of .NET Standard possible.
but older version of .NET Standard have a poorer collection of methods and packages.
So it is possible if you target .NET Standard in version 1.3 or below.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With