Avalonia-Silk.NET-Example icon indicating copy to clipboard operation
Avalonia-Silk.NET-Example copied to clipboard

Application hangs on any version of .NET >6.0

Open MaxDeVos opened this issue 9 months ago • 1 comments

The application works perfectly with .NET versions 5.0.408 and 6.0.422, but when you change the TargetFramework to net7.0 or net8.0 and run the application, it launches an empty window which is completely unresponsive, even to dragging the title bar.

I believe that it can work if the Avalonia package is upgraded to version 11.1.0-beta2, but it requires some code changes, specifically with the Win32PlatformOptions obect in Program.cs, as the UseWgl property is no longer present.

MaxDeVos avatar May 26 '24 20:05 MaxDeVos