Why does SkiaSharp.Views.WindowsForms target windows10.0.19041 specifically? #3151
Replies: 3 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. |
|
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 |
|
@mattleibow , I agree with @chrarnoldus . This issue ScottPlot/ScottPlot#5226 is probably related to this issue. If there is no apparent reason, please remove that dependency ! |
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions