Repository navigation
Remove Uno on WinUI 2 (Uno.UI) support - #906
Open
Sergio0694 wants to merge 3 commits into
Open
Sergio0694 wants to merge 3 commits into
Sergio0694 wants to merge 3 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Uno is now only supported with WinUI 3 (Uno.WinUI), following the tooling change. - CI: explicit build matrix (uwp for WinUI 2; wasdk and all Uno targets for WinUI 3), simplified packaging and generate steps for .slnx - Remove WinUI 2 / Uno blocks from Dependencies.props and update docs - Remove Uno WinUI 2 conditions in source - Remove SlnGen leftovers (dotnet tool, solution items), use .slnx Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…at defaults Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
107278c815362cd95e7c9cf5583b09794ffa014auwp(WinUI 2) andwasdk(WinUI 3).↑ Uno (WinUI 3)
wasm/wpf/linuxgtkbuild and pack of Behaviors, SettingsControls, Converters and Extensions succeeded; restored assets haveUno.WinUIand noUno.UI;PackageIdvariants areUwpfor uwp andWinUIfor wasdk/Uno.↑
Build-Toolkit-Components.ps1 -MultiTargets all -WinUIMajorVersion 2packs only theCommunityToolkit.Uwp.*packages;-MultiTargets wasm -WinUIMajorVersion 2now throws as intended; workflow YAML parses and the matrices expand as expected.↓ The UWP test head discovers no tests (the shared test imports are only enabled for wasdk in tooling), and WinAppSDK tests can't run locally (no .NET 9 runtime).
↓ macos/ios/android heads (no workloads) and the CI jobs themselves were not run; depends on the unmerged tooling PR.
Fixes
Removes Uno on WinUI 2 (
Uno.UI) support, following Tooling-Windows-Submodule#323. Uno is now WinUI 3 (Uno.WinUI) only; native UWP (uwpMultiTarget, WinUI 2) is unchanged.PR Type
What is the new behavior?
toolingsubmodule to the tooling PR branch.buildmatrix is now an explicitincludelist (uwpfor WinUI 2;wasdkand all Uno targets for WinUI 3) so WinUI 2 Uno legs are gone. The package job no longer passes-ExcludeMultiTargets(the tooling resolves it from-WinUIMajorVersion) and skipsuno-checkfor WinUI 2.wasm-linuxpasses-MultiTargets wasm. Generate steps pass-Launchoff and MSBuild builds the.slnx(vs-version[17.13,)).IsUno AND WinUIMajorVersion == '2'blocks (andUno.Microsoft.Xaml.Behaviors.Interactivity) from componentDependencies.props; the Uno group now just usesIsUno.CommunityToolkit.WinUI.*. TheUnopackage tag is only added to theWinUIpackage variant.HAS_UNO && WINUI2conditions and an unreachableWINUI2branch (FocusBehavior,ColorPicker,ColorToDisplayNameConverter).SlnGenSolutionItemitems, switched.gitignore,.vscode,.devcontainerandGenerateAllSolution.bat(default targets no longer includeuwp, optional WinUI version arg) to.slnx.Validated locally
GenerateAllSolution.ps1(CI command forms) +msbuild /restorein Release:uwp/WinUI 2 andwasdk/WinUI 3 all-components solutions build with 0 errors.Build-Toolkit-Components.ps1: Unowasm,wpf,linuxgtk(WinUI 3) andallwith WinUI 2 pack as described above.PR Checklist
CommunityToolkit.Uwp.*packages no longer ship Uno TFMs (Uno apps must useCommunityToolkit.WinUI.*).