Repository navigation
fix: include .skia.cs files for net9.0-browserwasm with SkiaRenderer - #23108
Closed
MartinZikmund with Copilot wants to merge 2 commits into
Closed
MartinZikmund with Copilot wants to merge 2 commits into
MartinZikmund with Copilot wants to merge 2 commits into
Conversation
Open
2 tasks
Copilot
AI
changed the title
[WIP] Fix files ending in .skia.cs inclusion for net9.0-browserwasm
fix: include .skia.cs files for net9.0-browserwasm with SkiaRenderer
Apr 21, 2026
Contributor
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
Contributor
|
This PR was closed because it has been stalled for 10 days with no activity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.skia.csfiles were excluded when targetingnet9.0-browserwasmwithSkiaRendererbecause the exclusion condition only checkedUnoRuntimeIdentifier != 'Skia'. Browser WASM targets setIsBrowserWasm=truerather thanUnoRuntimeIdentifier=Skia, so Skia-specific files were always stripped.PR Type:
What is the current behavior? 🤔
When using
net9.0-browserwasmwithSkiaRenderer, all files ending in.skia.csare excluded from compilation becauseUnoRuntimeIdentifieris never set toSkiafor that target — it usesIsBrowserWasm=trueinstead.What is the new behavior? 🚀
.skia.csfiles are now included whenIsBrowserWasm=trueandUnoFeaturescontainsskiarenderer, matching the existing pattern used for.wasm.csinclusion:Files are included when either:
UnoRuntimeIdentifier == 'Skia'(standard desktop Skia target), orIsBrowserWasm == 'true'andUnoFeaturescontainsskiarendererPR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️
Only
src/Uno.Sdk/targets/Uno.CrossTargeting.targetsis modified. The legacysrc/Uno.CrossTargetting.targetsis unchanged asUnoFeaturesis not available in non-SDK project contexts.