Repository navigation
Remove legacy UWP (UAP) support and MSBuild.Sdk.Extras - #905
Open
Sergio0694 wants to merge 2 commits into
Open
Sergio0694 wants to merge 2 commits into
Sergio0694 wants to merge 2 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Remove the MSBuild.Sdk.Extras SDK pin and its usages (global.json, TabbedCommandBar csprojs) - Update component Dependencies.props comments for modern UWP (net*-windows10.*) and drop legacy polyfill packages - Remove the WebView2/VCLibs uap workaround, PolySharp references, the ILC repro artifact step and dead pragmas - Remove dead conditional code for netstandard2.0/pre-net8 targets and the Uno-only IsCompletedSuccessfully workaround 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:
01c200e759bc35e08e5539e3b6577fde324674a0uwp(WinUI 2) andwasdk(WinUI 3), including the TreatWarningsAsErrors setting.↑ Uno
net9.0builds of Collections, Extensions, Animations and Converters succeed.↑ 25 UWP tests covering the changed code paths passed, 1 skipped (vstest,
FrameworkUap10).↓ Wasm/Android/iOS/macOS heads and the full UWP UI test suite were not validated locally; CI is expected to cover the rest.
↓ Depends on the unmerged tooling PR #320.
Fixes
Removes legacy UWP (UAP /
uap10.0.17763, .NET Native,MSBuild.Sdk.Extras) support from this repo, following Tooling-Windows-Submodule#320. Modern .NET UWP (net8.0/net9.0-windows10.0.26100.0, WinUI 2 via theuwpMultiTarget) is unchanged.PR Type
What is the new behavior?
toolingsubmodule to the tooling PR branch.global.json: removed theMSBuild.Sdk.Extrasmsbuild-sdkspin;TabbedCommandBarcsprojs no longer use the Extras SDK (same pattern as the other component projects).Dependencies.props(48 files): updated comments for modern UWP and removed legacy polyfill packages (System.Threading.Tasks.Extensionsfor Media,Microsoft.Bcl.HashCodefor RangeSelector; the latter drops one dependency from the UWP RangeSelector package).Microsoft.VCLibs.Desktopuap workaround, thePolySharpreferences (not needed on net8+) and the obsolete .NET Native ILC repro artifact step in the workflow.NET8_0_OR_GREATER, never-trueNETSTANDARD2_0, the Uno-onlyIsCompletedSuccessfullyworkaround, the orphanCS0518/CS1061pragmas.Validation (local, VS 18 MSBuild, Release x64)
GenerateAllSolution.ps1 -MultiTargets uwp -winui 2and-MultiTargets wasdk -winui 3:msbuild /restoresucceeds with 0 errors.net9.0builds of the Collections, Extensions, Animations and Converters source projects succeed.vstest.console.exe ... /Framework:FrameworkUap10passed 25 tests (1 skipped) for the changed code (IncrementalLoadingCollection, AdvancedCollectionView, TaskResultConverter, Animations, Shadows).PR Checklist
CommunityToolkit.Uwp.*packages no longer ship auap10.0.17763asset, so legacy .NET Native UWP apps can no longer consume them.