Skip to content

Remove Uno on WinUI 2 (Uno.UI) support - #832

Merged
Sergio0694 merged 3 commits into
mainfrom
sergio0694-remove-uno-winui2-labs
Dec 4, 2026
Merged

Sergio0694 merged 3 commits into
mainfrom
sergio0694-remove-uno-winui2-labs

Conversation

@Sergio0694

@Sergio0694 Sergio0694 commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 94e45daf4c3d2ecd8062736544aedc77f7bb0623

Dimension Assessment Rationale
Change confidence 8/10 ↑ UWP (WinUI 2) all-components Release build passes and the Shimmer UWP tests pass 9/9.
↑ WinAppSdk (WinUI 3) Release build passes with the CI-style component list; wasm (Uno) builds of RivePlayer, Marquee and DataTable succeed with Uno.WinUI only in the restored assets.
↑ Packing via Build-Toolkit-Components.ps1 gives the expected package IDs (Uwp for uwp, WinUI for wasdk/wasm), AppServices keeps its netstandard2.0 lib under winui 2, and Extensions.DependencyInjection builds under winui 0.
↓ The all-up Tests.Uwp head reported "No test is available" with vstest here (the per-component head ran fine); not investigated.
↓ WinAppSdk tests were not run (no .NET 9 runtime), and the other Uno heads (wpf, linuxgtk, macos, ios, android), the workflow YAML on a runner and the DependencyPropertyGenerator tests were not run locally.
↓ CI results not yet inspected.

Stacked on #830. The tooling submodule points to Tooling-Windows-Submodule#323, now merged into tooling main (4765b1b, which includes #321), so no re-point is needed.

Uno is now supported with WinUI 3 (Uno.WinUI) only; WinUI 2 is native UWP only.

Changes

  • CI: the solution build matrix is an explicit include list (uwp is the only WinUI 2 leg; wasdk and the Uno targets are WinUI 3), builds the generated .slnx, and passes -Launch $false. The package/sign/release jobs keep winui: [0, 2, 3]. setup-msbuild now requires VS 17.13+ for .slnx.
  • Removed the dead IsUno AND WinUIMajorVersion == '2' blocks (and Uno.Microsoft.Toolkit.Uwp.*/SkiaSharp.Views.Uno references) from all component Dependencies.props; the WinUI 3 Uno blocks now just check IsUno.
  • Docs/samples/tests: removed UseUnoWinUI.ps1 from the ReadMe, the Uno.UI/UWP-API guidance from DependencyPropertyGenerator.md and its tests, the WinUI 2 snippets from RivePlayer.md, and the dead !WINAPPSDK branches in RivePlayer (wasm only).
  • SlnGen follow-ups from tooling#321: removed it from dotnet-tools.json and Directory.Build.targets; .slnx in .gitignore, VS Code and devcontainer settings; ReadMe build requirements.

Validated locally

  • GenerateAllSolution.ps1 -MultiTargets uwp -winui 2: builds; PackageIdVariant=Uwp. Shimmer single-component UWP solution builds and Tests.Uwp passes 9/9.
  • GenerateAllSolution.ps1 -MultiTargets wasdk -winui 3 (CI-style filtered component list): builds; PackageIdVariant=WinUI.
  • Build-Toolkit-Components.ps1 for wasm / winui 2 / winui 0 / winui 3, and Filter-Supported-Components.ps1 for winui 0/2/3 over all components.
  • Workflow YAML parses and the matrix expands to the intended 8 legs.

Not validated locally: see the assessment above.

@Sergio0694
Sergio0694 added this pull request to stack #833 December 1, 2026 06:46
@Sergio0694
Sergio0694 marked this pull request as ready for review December 2, 2026 19:15
@Sergio0694
Sergio0694 force-pushed the sergio0694-remove-uno-winui2-labs branch from 2dfab1c to 94e45da Compare December 3, 2026 21:34
Base automatically changed from sergio0694-remove-legacy-uwp to main December 4, 2026 00:27
Sergio0694 and others added 3 commits December 3, 2026 16:27
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…nx solutions

- CI: use an explicit matrix with uwp as the only WinUI 2 leg, build the generated .slnx
- Remove dead Uno/WinUI 2 package references from component Dependencies.props
- Update docs, samples and tests that referenced Uno.UI / UseUnoWinUI.ps1
- Drop SlnGen from the tools manifest and Directory.Build.targets

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…version

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 force-pushed the sergio0694-remove-uno-winui2-labs branch from 94e45da to 4afa45c Compare December 4, 2026 00:27
@Sergio0694
Sergio0694 merged commit fd06b0c into main Dec 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant