Skip to content

docs: Allow SkiaSharp.Views.Uno.WinUI 4.156.0+ - #26700

Open
ajpinedam wants to merge 1 commit into
unoplatform:masterfrom
ajpinedam:dev/anpi/skiasharp-views-uno7-docs
Open

ajpinedam wants to merge 1 commit into
unoplatform:masterfrom
ajpinedam:dev/anpi/skiasharp-views-uno7-docs

Conversation

@ajpinedam

@ajpinedam ajpinedam commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue: related to unoplatform/add-private#67

PR Type:

📚 Documentation content changes

What changed? 🚀

The 7.0 docs say every published SkiaSharp.Views.Uno.WinUI build was compiled against Uno Platform 6.x and must not be referenced. That is no longer true: 4.156.0 (mono/SkiaSharp#5377) is built against Uno Platform 7, and it is the SkiaSharp version Uno.Sdk 7.0.22 references.

Changes

  • migrating-to-uno-7/packages.md: SKCanvasElement stays the recommendation, but an explicit PackageReference (for SKXamlCanvas, SKSwapChainPanel or helpers such as ToColor()) is now allowed at 4.156.0 or later, at the same version as the SDK's SkiaSharp packages, with a link to the SkiaSharp upgrade section.
  • migrating-to-uno-7/lookup.md and uno-build-error-codes.md: on released 7.0 builds, older versions of the package fail the build with UNOB0023, so the UNOB0023 entries now point to the package update, and the FileNotFoundException row names the version.
  • guides/xf-migration/custom-drawn-controls.md: same guidance in the caution and the Step 1 note.

Testing

  • Blank Uno.Sdk 7.0.22 app with SkiaSharp.Views.Uno.WinUI 4.156.0: SKXamlCanvas and SKSwapChainPanel paint (pixels sampled with RenderTargetBitmap) and ToColor() works, on desktop (Win32) and WebAssembly (Release publish). With 4.155.2 the build fails with UNOB0023.
  • markdownlint and cspell pass on the changed files. DocFX was not built locally.
  • Not covered: Android, iOS and WinAppSDK heads.

PR Checklist ✅

@mergify

mergify Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

@unodevops

Copy link
Copy Markdown
Contributor

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.

2 participants