Repository navigation
Retarget modern UWP sample to .NET 10 - #11650
Conversation
Update the public sample and related guidance now that the packaged-app launcher supports net10 modern UWP execution. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused retargeting is internally consistent, documented, and covered by existing .NET 10 acceptance validation.
Review effort: Balanced
Findings: None
What changed in this PR
Retargets the modern UWP MTP sample to .NET 10 and updates associated guidance.
Changes:
- Changes the sample target framework to
net10.0-windows10.0.26100.0. - Removes obsolete .NET 9 launcher limitations from documentation.
- Clarifies desktop MSBuild and .NET SDK responsibilities.
| File | Description |
|---|---|
samples/public/UwpMtpApp/UwpMtpApp.csproj |
Retargets the sample to .NET 10. |
samples/public/UwpMtpApp/README.md |
Updates prerequisites and tooling guidance. |
samples/public/README.md |
Updates the public sample overview. |
docs/winui-testing.md |
Updates modern UWP examples to .NET 10. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Final test-triage resolution — Azure Pipelines build 1617551 This is a docs/sample-only PR (retargets the UWP sample to .NET 10); neither failure is related to the changed files. 1. 2. Confidence: high for both — no code/product defect, no action needed on this PR beyond the existing tracked issue #11631. No new issue created (duplicate of open, actionable #11631; second finding is by-design retry-mechanism behavior).
|
Retarget the public modern UWP MTP sample to
net10.0-windows10.0.26100.0now that #11609 supports the .NET 10 AppX recipe layout.Update the sample README and related Windows application testing guidance to remove the obsolete .NET 9 limitation. The copy-ready desktop-MSBuild commands are preserved, and the docs clarify that the .NET 10 SDK supplies target framework/SDK resolution while Visual Studio desktop MSBuild supplies the UWP XAML/MSIX toolchain.
Validation
build.cmd -pack -c Release -bl: succeeded with 0 warnings and 0 errors.eng\build-samples.ps1 -Configuration Release -BinaryLogDirectory artifacts\log\Release\retarget-uwp-samples-fresh -LocalPackageDirectory artifacts\packages\Release\Shipping -LocalMSTestVersion 4.5.0-dev -LocalTestingPlatformVersion 2.5.0-devwith an isolated NuGet cache: 16/16 public sample solutions succeeded.UwpMtpApp.sln /restore /t:Buildsucceeded fornet10.0-windows10.0.26100.0.InvokeTestingPlatformwith the short physical registration staging used by Fix .NET 10 modern UWP MTP invocation #11609's acceptance coverage: TRX reported 2/2 passed:PackageIdentityMatchesManifestUITestMethodRunsOnTheCoreWindowDispatcherFollow-up to #11609.