When I trying to install the Eto.OpenTK 0.1.2 package in a .NET Core 3.1 Eto.Forms application, I get a NuGet warning NU1701 Package 'Eto.OpenTK 0.1.2' 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 'instead of the project target framework '.NETCoreApp, Version = v3.1'. This package may not be fully compatible with your project.
To eliminate this warning, as well as the application startup error (System.IO.FileNotFoundException: 'Could not load file or assembly' OpenTK, Version = 3.0.1.0, Culture = neutral, PublicKeyToken = ...') I tried to update OpenTK to version 4.0.0 in all of projects contained in this repository, having previously changed TargetFramework property in Eto.OpenTK, Eto.OpenTK.Gtk2, Eto.OpenTK.Mac64, Eto.OpenTK.WinForms, Eto.OpenTK.Wpf projects from net45 to netcoreapp3.1. After that, throughout the solution, I updated OpenTK to version 4.0.0.
It turned out that version 4.0.0 lacks the GraphicsMode class (used, for example, in WpfWinGLSurfaceHandler.cs), so the projects could not be rebuilt.
How difficult would it be to move from .NET Framework to .NET Core for this project and move from OpenTK 3.0.1 to 4.0.0 given changes in the new version?
Currently I use Eto.Forms 2.5.6, Eto.Platform.Wpf 2.5.6.
When I trying to install the Eto.OpenTK 0.1.2 package in a .NET Core 3.1 Eto.Forms application, I get a NuGet warning
NU1701 Package 'Eto.OpenTK 0.1.2' 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 'instead of the project target framework '.NETCoreApp, Version = v3.1'. This package may not be fully compatible with your project.To eliminate this warning, as well as the application startup error (
System.IO.FileNotFoundException: 'Could not load file or assembly' OpenTK, Version = 3.0.1.0, Culture = neutral, PublicKeyToken = ...') I tried to update OpenTK to version 4.0.0 in all of projects contained in this repository, having previously changedTargetFrameworkproperty in Eto.OpenTK, Eto.OpenTK.Gtk2, Eto.OpenTK.Mac64, Eto.OpenTK.WinForms, Eto.OpenTK.Wpf projects fromnet45tonetcoreapp3.1. After that, throughout the solution, I updated OpenTK to version 4.0.0.It turned out that version 4.0.0 lacks the
GraphicsModeclass (used, for example, in WpfWinGLSurfaceHandler.cs), so the projects could not be rebuilt.How difficult would it be to move from .NET Framework to .NET Core for this project and move from OpenTK 3.0.1 to 4.0.0 given changes in the new version?
Currently I use Eto.Forms 2.5.6, Eto.Platform.Wpf 2.5.6.