Repository navigation
fix(sdk)!: Remove the Prism Uno Feature - #26014
Merged
MartinZikmund merged 3 commits intoNov 4, 2026
Merged
MartinZikmund merged 3 commits into
MartinZikmund merged 3 commits into
Conversation
Contributor
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26014/docs/index.html |
Contributor
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
MartinZikmund
approved these changes
Nov 4, 2026
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.
GitHub Issue: closes unoplatform/uno-private#2504
PR Type:
🐞 Bugfix
What changed? 🚀
Current behavior. The
PrismUno Feature makes the Uno.Sdk referencePrism.DryIoc.Uno.WinUI,Prism.Uno.WinUIandPrism.Uno.WinUI.Markup9.0.537. That's the latest Prism on nuget.org, and it was built against Uno Platform 5.3, so an app that listsPrismdoesn't build on 7.0. Reproduced with a blank 7.0 app (Uno.Sdk 7.0.0-dev.130,net10.0-desktop):Prism.Uno.WinUI9.0.537 pulls inUno.Extensions.Hosting.WinUI4.2.2, whose Uno 6 package layout fails the build with UNOB0023. The error names Hosting, not Prism.CoreDispatcherin the removedUno.dll), from the old XAML Behaviors package and from Prism's ownItemMetadataandInvokeCommandAction.Uno.UI.dll, those two Prism types throwTypeLoadException: they implementDependencyObjectas an interface. Regions useItemMetadatafor every view, so there is no app-side workaround.Prism's port to Uno 7 (PrismLibrary/Prism#3450) is merged but not published on nuget.org.
What this PR changes. Prism is the only third-party package in the Uno.Sdk manifest that is built against Uno itself, so every Uno major breaks it until Prism ships a new build. This removes it from the Uno.Sdk: apps reference Prism's packages directly.
Prismpackage group, thePrismUno Feature, thePrismVersionproperty and their build-schema entries.Prismentry still listed inUnoFeaturesis dropped, asLottieandNativeRendererare, and reported as a new warning, UNOB0035, with the migration steps. Before, it would have been an "Unable to parse 'prism'" warning followed by CS0246 errors.Navigationis no longer left out whenPrismis also listed.UNOB0034 is claimed by #25987, so this takes UNOB0035. #25696 also still needs a free code.
Not in this PR: uno.templates has its own copy of the manifest and a dead
usePrismblock, andaka.platform.uno/UNOB0035still needs to be created.Validation
Uno.UI.Tasks.Tests, run locally onnet10.0): the newGiven_UnoSdkPrismFeature(8 cases) and the existingGiven_UnoSdkReactorFeatureandGiven_UnoSdkRendererFeatureall pass (43). With master's SDK targets swapped back in, 7 of the 8 new cases fail; the 8th is the case with noPrismlisted.Uno.Sdk.csprojbuilds.PR Checklist ✅
Screenshots Compare Test Runresults.Breaking change. An app that lists
PrisminUnoFeaturesno longer gets Prism packages from the Uno.Sdk, and the build reports UNOB0035. To migrate, removePrismfromUnoFeaturesand add aPackageReferencetoPrism.DryIoc.Uno.WinUIin the app (orPrism.Uno.WinUIin a library) with a Prism release built for Uno Platform 7.0.PrismVersionis ignored. The version the feature used to pin doesn't build on 7.0, so no app that builds today loses anything.🤖 Generated with Claude Code