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

[Browser] Add dotnet/runtime#109289 workaround #17507

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

maxkatz6
Copy link
Member

@maxkatz6 maxkatz6 commented Nov 14, 2024

What does the pull request do?

As it seems, this WASM bug was moved to .NET 10.0 milestone, making it unclear, if .NET 9 will ever work with SkiaSharp out of the box.
Thanks to the discussion in dotnet/runtime#109289, we have a workaround.

Workaround is automatically included on any .NET 9+ target, unless DisableIssue109289Workaround is set to true.

Fixed issues

Fixes #17416

@maxkatz6 maxkatz6 added bug os-browser backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Nov 14, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0053288-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 merged commit 1f7b169 into master Nov 14, 2024
9 of 11 checks passed
@maxkatz6 maxkatz6 deleted the browser-workaround branch November 14, 2024 23:23
maxkatz6 added a commit that referenced this pull request Nov 14, 2024
* Add dotnet/runtime#109289 workaround

* Add target framework version condition
@maxkatz6 maxkatz6 added backported-11.2.x and removed backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project fails to load in a browser with a cryptic error in 11.2
3 participants