Why does SkiaSharp.Views.WindowsForms target windows10.0.19041 specifically? #3151
Replies: 2 comments
-
No reason really, it was just to keep them all in sync. But, this target version is just the build version, you can set a min version with the MinTargetPlatformVersion or similar. |
Beta Was this translation helpful? Give feedback.
-
Targeting Windows 10 explicitly for the WinForms and WPF packages creates some confusion/annoyances. By default, NuGet will now restore the .NET Framework version, which is obviously not what you want (see #3145 and #3153 (comment) for example). Additionally, a dependency to CsWinRT (and associated DLLs) gets implicitly added to your project, which is also surprising because WinForms/WPF apps are unlikely to use it. Considering the above I think it is better these packages target |
Beta Was this translation helpful? Give feedback.
-
Is there a particular reason Windows 10.0.19041 (which corresponds to 2004) is targeted specifically?
I tried running an app using this package on Windows Server 2016 (which corresponds to the much older 1607) and it seems to be working fine.
Beta Was this translation helpful? Give feedback.
All reactions