Repository navigation
Remove legacy UWP (UAP) support and MSBuild.Sdk.Extras - #320
Open
Sergio0694 wants to merge 4 commits into
Open
Sergio0694 wants to merge 4 commits into
Sergio0694 wants to merge 4 commits into
Conversation
Sergio0694
marked this pull request as ready for review
November 30, 2026 22:44
yoshiask
reviewed
Dec 1, 2026
yoshiask
left a comment
There was a problem hiding this comment.
Maybe I'm not familiar enough with the tooling, but it seems there are lots of changes that will exclude or break UWP on .NET 9+
This was referenced Dec 1, 2026
- Drop the 'uap10.0.17763' TFM from the 'uwp' MultiTarget; only modern .NET UWP (net8/net9-windows10.0.26100.0 with UseUwp) remains, with no more VS-only TFM switch. - Replace MSBuild.Sdk.Extras with the plain Microsoft.NET.Sdk in the component props and remove the msbuild-sdks entry from global.json. - Remove UAP-only conditions, the WebView2 package workaround, the NETFX_CORE constant, and collapse the UWP package references into a single props file. - Delete the legacy UWP gallery heads (the WinUI 3 gallery remains) and convert the UWP unit test heads to SDK-style modern .NET UWP projects (MSTest 3.11, VSTest 18.9). - Remove UWP-only gallery code (TitleBar.UWP.cs, UWP Markdown references). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
With -WinUIMajorVersion 2 the wasdk MultiTarget is excluded, but the default 'Wasdk' head was still built. Filter heads by their MultiTarget instead. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The modern UWP targets already add the 'Msix' project capability. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sergio0694
force-pushed
the
sergio0694-remove-legacy-uwp
branch
from
December 2, 2026 18:41
ac880a3 to
837376a
Compare
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:
b72ebfdbe3048b8325edf5f13320522de8dffe0c↑ UWP test head runs 9/9 via
vstest ... .appxrecipe /Framework:FrameworkUap10.↑ net8/net9 uwp and wasdk nupkg file lists identical to the pre-change output.
Removes legacy UWP (
uap10.0.17763) from the MultiTarget system, keeping modern .NET UWP (net8/net9-windows10.0.26100.0), and removesMSBuild.Sdk.Extras.uwpMultiTarget now only usesnet9.0-windows10.0.26100.0;net8.0-windows10.0.26100.0.Microsoft.NET.Sdkinstead ofMSBuild.Sdk.Extras(also removed fromglobal.json).NETFX_COREdefine; merged the UWP package reference props into one file.TitleBar.UWP.cs.Tests.Uwpheads to SDK-style modern UWP projects (MSTest 3.11.1, TestHost 18.9.0).