You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a small testing app which uses SKSwapChainPanel.
Here's what I am using:
Visual Studio 2022.
WinUI 3
SkiaSharp - 3.0.0 Preview 4.1
SkiaSharp.View.WinUI 3.0.0-Preview 4.1
.Net 8
Is this an unpackaged app? Because I encountered a similar error here: dotnet/maui#23737
Sorry Friends, I take my words back. It works fine for unpacked WinUI 3 application, regardless of .net version (works on both .net 7 & .net 8). However, It crashes for packaged application. Tommi is right.
Description
Create a small testing app which uses SKSwapChainPanel.
Here's what I am using:
Visual Studio 2022.
WinUI 3
SkiaSharp - 3.0.0 Preview 4.1
SkiaSharp.View.WinUI 3.0.0-Preview 4.1
.Net 8
Code
The best way to share code for larger projects is a link to a GitHub repository: https://github.com/user/repo/tree/bug-123
But, you can also share a short block of code here:
// some C# code here
You can also share some XAML:
<!-- xaml code here -->
Expected Behavior
Should run without any issue. It should display window.
Actual Behavior
Gets an exception on .Net Version 8.0
Works fine on .Net Version 7.0
Full Stack Trace:
Version of SkiaSharp
3.x (Alpha)
Last Known Good Version of SkiaSharp
2.88.2 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 10
Devices
Laptop:
Intel i7 processor, NVidia Graphics Card
Relevant Screenshots
The same code works fine with .Net 7.0
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: