My C# Winforms application target .Net 8 and uses the latest GoDiagram.
Currently everything seems to work fine.
However, when I build it I get these warnings:
warning NU1701: Package ‘OpenTK 3.1.0’ was restored using ‘.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1’ instead of the project target framework ‘net8.0-windows10.0.20348’. This package may not be fully compatible with your project.
and
warning NU1701: Package ‘OpenTK.GLControl 3.1.0’ was restored using ‘.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1’ instead of the project target framework ‘net8.0-windows10.0.20348’. This package may not be fully compatible with your project.
I just wondered whether this is anything to worry about, and whether a future release of GoDiagram might use a later version of OpenTK, OpenTK.GLControl which might get rid of those warnings?
These warnings come from SkiaSharp, which is used to allow for faster rendering, particularly on newer high density displays. They don’t impact functionality or cause any issues, so for our projects we’ve added <NoWarn>NU1701</NoWarn>.
It does look like this may have been resolved recently, so we’ll take a look at the updated packages.
I tried experimenting with Northwoods.GoDiagram.WinForms 10.1.0 instead of 10.0.12.
The same warnings occur, so I don’t think the problem is fixed.
I noticed that the versions of the some of the SkiaSharp transitive dependencies have incremented slightly from 2.88.8 to 2.88.9, but the OpenTK transitive dependencies remain at 3.1.0.
I’m not sure if this contradicts the release statement.
GoDiagram now targets .NET 8 (and .NET Framework 4.6.2) as .NET 6 is no longer supported.
I understand .NET 8 (and .NET 9) is out of support in November 2026.
And .NET 10 is due for release in November 2025.
Does this mean there will be a further release of Northwoods.GoDiagram.WinForms targetting .NET 10?
That’s right, we did not move SkiaSharp all the way up to version 3 (where the OpenTK warnings are resolved) with this release as documentation isn’t fully available and it’s still not officially supported by Avalonia. Once it’s fully compatible, we’ll upgrade.
We plan to support .NET 10 in the future. Whether we drop support for 8 will depend on compatibility between SkiaSharp and Avalonia with .NET 8.