Repository navigation
build: Build cleanup post UWP drop - #23183
Conversation
|
@MartinZikmund Please take a look. |
There was a problem hiding this comment.
Pull request overview
This PR removes remaining UWP-era build switches after the repository’s WinUI-only transition, mainly by hardcoding Uno.WinUI package identities and stripping UNO_UWP_BUILD conditionals from project, packaging, and CI files. It fits into the build/packaging layer of the repo by simplifying how packages, overrides, source generators, samples, and CI templates resolve the active XAML flavor.
Changes:
- Replaces conditional
PackageId/override-package logic with unconditionalUno.WinUInaming across core packages, add-ins, runtime packages, and remote-control artifacts. - Removes
UNO_UWP_BUILD-gated inclusions/exclusions from runtime tests, samples, source generators, and shared build props/targets. - Simplifies Azure DevOps templates and NuGet packaging scripts/nuspecs to assume WinUI-only outputs.
Reviewed changes
Copilot reviewed 86 out of 86 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
src/Uno.UI/Uno.UI.netcoremobile.csproj |
Hardcodes Uno.WinUI package ID for netcoremobile UI package. |
src/Uno.UI/Uno.UI.Wasm.csproj |
Hardcodes Uno.WinUI package ID for Wasm UI package. |
src/Uno.UI/Uno.UI.Skia.csproj |
Hardcodes Uno.WinUI package ID for Skia UI package. |
src/Uno.UI.XamlHost.Skia.Wpf/Uno.UI.XamlHost.Skia.Wpf.csproj |
Hardcodes WinUI XamlHost package ID. |
src/Uno.UI.Toolkit/Uno.UI.Toolkit.netcoremobile.csproj |
Makes override package-id rewrite always target uno.winui. |
src/Uno.UI.RuntimeTests/Uno.UI.RuntimeTests.netcoremobile.csproj |
Removes UWP-only warnings and multiwindow exclusions. |
src/Uno.UI.RuntimeTests/Uno.UI.RuntimeTests.Wasm.csproj |
Removes UWP-only multiwindow exclusions. |
src/Uno.UI.RuntimeTests/Uno.UI.RuntimeTests.Skia.csproj |
Removes UWP-only multiwindow exclusions. |
src/Uno.UI.RuntimeTests/Directory.Build.targets |
Drops UWP-gated test file removals. |
src/Uno.UI.Runtime.WebAssembly/Uno.UI.Runtime.WebAssembly.csproj |
Hardcodes WinUI runtime package ID for Wasm. |
src/Uno.UI.Runtime.Skia/Uno.UI.Runtime.Skia.csproj |
Hardcodes WinUI runtime package ID for Skia base runtime. |
src/Uno.UI.Runtime.Skia.X11/Uno.UI.Runtime.Skia.X11.csproj |
Hardcodes WinUI runtime package ID for X11. |
src/Uno.UI.Runtime.Skia.Wpf/Uno.UI.Runtime.Skia.Wpf.csproj |
Hardcodes WinUI runtime package ID for WPF. |
src/Uno.UI.Runtime.Skia.Win32/Uno.UI.Runtime.Skia.Win32.csproj |
Hardcodes WinUI runtime package ID for Win32. |
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Uno.UI.Runtime.Skia.WebAssembly.Browser.csproj |
Hardcodes WinUI runtime package ID for browser host. |
src/Uno.UI.Runtime.Skia.MacOS/Uno.UI.Runtime.Skia.MacOS.csproj |
Hardcodes WinUI runtime package ID for macOS. |
src/Uno.UI.Runtime.Skia.Linux.FrameBuffer/Uno.UI.Runtime.Skia.Linux.FrameBuffer.csproj |
Hardcodes WinUI runtime package ID for framebuffer runtime. |
src/Uno.UI.Runtime.Skia.AppleUIKit/Uno.UI.Runtime.Skia.AppleUIKit.csproj |
Hardcodes WinUI runtime package ID for AppleUIKit runtime. |
src/Uno.UI.Runtime.Skia.Android/Uno.UI.Runtime.Skia.Android.csproj |
Hardcodes WinUI runtime package ID for Android runtime. |
src/Uno.UI.RemoteControl/Uno.UI.RemoteControl.netcoremobile.csproj |
Renames dev-server package ID and removes UWP XAML exclusions. |
src/Uno.UI.RemoteControl/Uno.UI.RemoteControl.Wasm.csproj |
Renames dev-server package ID and removes UWP XAML exclusions. |
src/Uno.UI.RemoteControl/Uno.UI.RemoteControl.Skia.csproj |
Renames dev-server package ID and removes UWP XAML exclusions. |
src/Uno.UI.RemoteControl/Uno.UI.RemoteControl.Reference.csproj |
Renames dev-server package ID and removes UWP XAML exclusions. |
src/Uno.UI.RemoteControl.VS/Uno.UI.RemoteControl.VS.csproj |
Hardcodes override package root to uno.winui. |
src/Uno.UI.RemoteControl.Server/Uno.UI.RemoteControl.Server.csproj |
Hardcodes dev-server override package root to uno.winui.devserver. |
src/Uno.UI.RemoteControl.Server.Processors/Uno.UI.RemoteControl.Server.Processors.csproj |
Hardcodes processor override package root to uno.winui. |
src/Uno.UI.RemoteControl.Messaging/Uno.UI.RemoteControl.Messaging.csproj |
Renames messaging package to Uno.WinUI.DevServer.Messaging. |
src/Uno.UI.RemoteControl.Host/Uno.UI.RemoteControl.Host.csproj |
Hardcodes host override package root to uno.winui. |
src/Uno.Sdk/Uno.Sdk.csproj |
Always generates the Uno.Sdk package. |
src/Uno.CrossTargetting.targets |
Always defines HAS_UNO_WINUI on non-UWP TFMs. |
src/SourceGenerators/Uno.UI.Tasks/Uno.UI.Tasks.csproj |
Hardcodes override package root to uno.winui. |
src/SourceGenerators/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.csproj |
Hardcodes override package root to uno.winui. |
src/SourceGenerators/Uno.UI.SourceGenerators/Content/Uno.UI.SourceGenerators.props |
Makes not_mux namespace exclusion unconditional. |
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/Uno.UI.SourceGenerators.Tests.csproj |
Removes UWP guards from test inputs and dependencies. |
src/SamplesApp/UITests.Shared/ItemExclusions.props |
Makes WinUI sample exclusions unconditional; drops UWP-only block. |
src/SamplesApp/SamplesApp.Wasm/SamplesApp.Wasm.csproj |
Keeps only the WinUI Monaco dependency path. |
src/Directory.Build.props |
Removes UWP-specific global build properties and warnings. |
src/AddIns/Uno.WinUI.Graphics3DGL/Uno.WinUI.Graphics3DGL.csproj |
Drops UWP branches from Windows add-in build setup. |
src/AddIns/Uno.WinUI.Graphics3DGL/GLCanvasElement.cs |
Removes UWP-specific namespace import branch. |
src/AddIns/Uno.UI.WebView.Skia.X11/Uno.UI.WebView.Skia.X11.csproj |
Hardcodes WinUI package ID for X11 WebView add-in. |
src/AddIns/Uno.UI.Svg/Uno.UI.Svg.netcoremobile.csproj |
Switches mobile SVG add-in to WinUI-only SkiaSharp/Uno packages. |
src/AddIns/Uno.UI.Svg/Uno.UI.Svg.Skia.csproj |
Switches Skia SVG add-in to WinUI-only SkiaSharp package. |
src/AddIns/Uno.UI.MediaPlayer.WebAssembly/Uno.UI.MediaPlayer.WebAssembly.csproj |
Hardcodes WinUI package ID for WebAssembly media player add-in. |
src/AddIns/Uno.UI.MediaPlayer.Skia.X11/Uno.UI.MediaPlayer.Skia.X11.csproj |
Hardcodes WinUI package ID for X11 media player add-in. |
src/AddIns/Uno.UI.MediaPlayer.Skia.Win32/Uno.UI.MediaPlayer.Skia.Win32.csproj |
Hardcodes WinUI package ID for Win32 media player add-in. |
src/AddIns/Uno.UI.Maps/Uno.UI.Maps.netcoremobile.csproj |
Renames maps package and makes WinUI-only no-op exclusions unconditional. |
src/AddIns/Uno.UI.MSAL/Uno.UI.MSAL.netcoremobile.csproj |
Renames MSAL mobile package to WinUI. |
src/AddIns/Uno.UI.MSAL/Uno.UI.MSAL.Windows.csproj |
Renames MSAL Windows package to WinUI. |
src/AddIns/Uno.UI.MSAL/Uno.UI.MSAL.Reference.csproj |
Renames MSAL reference package to WinUI. |
src/AddIns/Uno.UI.Lottie/Uno.UI.Lottie.netcoremobile.csproj |
Removes UWP branches and keeps WinUI Lottie dependencies. |
src/AddIns/Uno.UI.Lottie/Uno.UI.Lottie.Tests.csproj |
Removes UWP branches from Lottie test packaging setup. |
src/AddIns/Uno.UI.Lottie/Uno.UI.Lottie.Skia.csproj |
Removes UWP branches from Skia Lottie packaging/override logic. |
src/AddIns/Uno.UI.Lottie/Uno.UI.Lottie.Reference.csproj |
Removes UWP branches from reference Lottie packaging setup. |
src/AddIns/Uno.UI.GooglePlay/Uno.UI.GooglePlay.netcoremobile.csproj |
Hardcodes WinUI package ID for GooglePlay add-in. |
src/AddIns/Uno.UI.Foldable/Uno.UI.Foldable.netcoremobile.csproj |
Hardcodes WinUI package ID for Foldable add-in. |
build/nuget/Uno.WinUI.nuspec |
Sets base package id/title to Uno.WinUI. |
build/nuget/Uno.WinUI.WebAssembly.nuspec |
Sets WebAssembly package id/title to WinUI naming. |
build/nuget/Uno.WinUI.Svg.nuspec |
Updates SVG nuspec dependencies to WinUI package names. |
build/nuget/Uno.WinUI.Skia.X11.nuspec |
Updates nuspec title to WinUI/X11 package name. |
build/nuget/Uno.WinUI.Skia.Wpf.nuspec |
Updates nuspec title to WinUI/WPF package name. |
build/nuget/Uno.WinUI.Skia.MacOS.nuspec |
Updates nuspec title to WinUI/macOS package name. |
build/nuget/Uno.WinUI.Skia.Linux.FrameBuffer.nuspec |
Updates nuspec title to WinUI/framebuffer package name. |
build/nuget/Uno.WinUI.DevServer.nuspec |
Renames dev-server package id/title to WinUI. |
build/ci/tests/.azure-devops-tests-windows-skia.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-webassembly-skia.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-webassembly-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-webassembly-native.yml |
Removes fixed UNO_UWP_BUILD variable. |
build/ci/tests/.azure-devops-tests-unit-tests.yml |
Removes fixed UNO_UWP_BUILD variable. |
build/ci/tests/.azure-devops-tests-skia-stages.yml |
Removes UNO_UWP_BUILD from stage/template forwarding. |
build/ci/tests/.azure-devops-tests-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-macos-skia.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-linux-skia.yml |
Removes UNO_UWP_BUILD gating from Linux Skia jobs. |
build/ci/tests/.azure-devops-tests-ios-skia.yml |
Removes UNO_UWP_BUILD parameter. |
build/ci/tests/.azure-devops-tests-ios-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-android-skia.yml |
Removes UNO_UWP_BUILD parameter. |
build/ci/tests/.azure-devops-tests-android-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-android-nativeaot-skia.yml |
Removes UNO_UWP_BUILD parameter. |
build/ci/tests/.azure-devops-tests-android-nativeaot-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/tests/.azure-devops-tests-android-coreclr-skia.yml |
Removes UNO_UWP_BUILD parameter. |
build/ci/tests/.azure-devops-tests-android-coreclr-skia-build.yml |
Removes UNO_UWP_BUILD parameter/variable plumbing. |
build/ci/docs/.azure-devops-docs.yml |
Removes fixed UNO_UWP_BUILD variable. |
build/ci/build/.azure-devops-build-native.yml |
Removes UNO_UWP_BUILD variable from native build job. |
build/ci/build/.azure-devops-build-managed.yml |
Removes UNO_UWP_BUILD parameter/variable from managed build job. |
build/ci/.azure-devops-stages.yml |
Stops passing UNO_UWP_BUILD through the main pipeline stages. |
build/Uno.UI.Build.csproj |
Simplifies pack/validate flow to WinUI-only package naming and paths. |
Directory.Build.props |
Removes default UNO_UWP_BUILD and makes NetUWPOrWinUI WinUI-only. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
c3ea53f to
39c11c2
Compare
39c11c2 to
1923fd1
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 86 out of 86 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23183/wasm-skia-net9/index.html |
|
The build 210453 did not find any UI Test snapshots differences. |
|
|
1923fd1 to
3088de3
Compare
|
Rebased on latest master. |
|
@ajpinedam @MartinZikmund This previously kept failing some tests in CI that look unrelated. If it kept happening again after the current new fresh build, please consider looking into the flaky tests and disabling them. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23183/wasm-skia-net9/index.html |
|
The build 210511 did not find any UI Test snapshots differences. |
|
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 86 out of 86 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23183/wasm-skia-net9/index.html |
|
The build 210708 found UI Test snapshots differences: Details
|
GitHub Issue: closes #
PR Type:
🔄 Refactoring (no functional changes, no api changes)
🏗️ Build or CI related changes
What changed? 🚀
Cleanup dead build infra.
PR Checklist ✅
Screenshots Compare Test Runresults.