Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] .net maui SkiaSharp crashes #3019

Open
1 task done
lerche27 opened this issue Sep 26, 2024 · 4 comments
Open
1 task done

[BUG] .net maui SkiaSharp crashes #3019

lerche27 opened this issue Sep 26, 2024 · 4 comments
Labels

Comments

@lerche27
Copy link

Description

Skiasharp crashes when the Maui application is created with WindowsSdkPackageVersion 10.0.19041.41.
The application works perfectly with 10.0.19041.34.

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

No response

Actual Behavior

No response

Version of SkiaSharp

2.88.3 (Current)

Last Known Good Version of SkiaSharp

Other (Please indicate in the description)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Windows

Platform / Operating System Version

Windows 11

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@lerche27
Copy link
Author

👎
The problem is caused by the use of WindowsSdkPackageVersion 10.0.19041.41 and not by a missing .UseSkiaSharp().

@inforithmics
Copy link

inforithmics commented Sep 27, 2024

It is this issue #2999
It is fixed in the Main Branch but no Skiasharp 3 nuget is Released yet.

@lerche27
Copy link
Author

Thanks for the hint. I really searched for days, but obviously overlooked this entry.
If I see it correctly, the current Maui CommunityToolkit versions require this WindowsSDK version, i.e. without a problem solution it is not possible to switch to current versions.
Question to the great SkiaSharp team: When will there be a bug-fixed version?
Thank you very much for your great work.

@mattleibow mattleibow changed the title [BUG] <title>.net maui SkiaSharp crashes [BUG] .net maui SkiaSharp crashes Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants