[mobile] .NET 11 mobile runtime configuration updates#25672
[mobile] .NET 11 mobile runtime configuration updates#25672kotlarmilos wants to merge 4 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the .NET unit tests that build iOS, tvOS and MacCatalyst apps with UseMonoRuntime=true. These resolve the Mono mobile runtime packs, which are no longer produced. macOS Mono cases are kept. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This PR updates the mobile/runtime configuration and CI surface area to align with removing Mono mobile workloads/RIDs in the .NET 11 toolchain, primarily by disabling Mono-based test variations and stopping Mono runtime-pack downloads in the build/package-download step.
Changes:
- Disable Mono-based XHarness/Jenkins test variations by forcing
supports_mono=falseand gating interpreter/LLVM variations accordingly. - Remove Mono runtime usage from multiple .NET unit tests (Windows remote tests, build/package/linking tests, incremental build tests).
- Stop downloading Mono runtime packs in
builds/package-downloadand remove the corresponding Makefile property plumbing; add temporary SDK/feed pins for validation.
Show a summary per file
| File | Description |
|---|---|
| tests/xharness/Jenkins/TestVariationsFactory.cs | Forces Mono test variations off and gates interpreter/LLVM test variants behind supports_mono. |
| tests/dotnet/UnitTests/WindowsTest.cs | Removes Mono-specific remote Windows test cases (CoreCLR-only remaining). |
| tests/dotnet/UnitTests/ProjectTest.cs | Removes Mono-targeted test cases and Mono-only linked-framework expectations. |
| tests/dotnet/UnitTests/PostBuildTest.cs | Removes Mono variants for IPA/package publish tests. |
| tests/dotnet/UnitTests/IncrementalBuildTest.cs | Removes Mono-only incremental build tests and interpreter toggling tests. |
| tests/dotnet/UnitTests/BundleStructureTest.cs | Removes Mono build variants of bundle structure verification tests. |
| NuGet.config | Adds the general-testing feed (noted in PR description as a temporary validation pin). |
| global.json | Pins the repo SDK/tooling to a .NET 11 preview.6 build for validation. |
| eng/Version.Details.xml | Updates dotnet/dotnet dependency versions and SHAs to the pinned preview.6 build. |
| builds/package-download/download-packages.csproj | Removes Mono runtime pack download items (CoreCLR runtime packs only). |
| builds/Makefile | Stops passing MonoVM runtime identifier property into package-download build. |
Copilot's findings
- Files reviewed: 11/11 changed files
- Comments generated: 3
🔥 [PR Build #b0e9a9c] Build failed (Build packages) 🔥Build failed for the job 'Build packages' (with job status 'Failed') Pipeline on Agent |
🔥 [PR Build #b0e9a9c] Build failed (Detect API changes) 🔥Build failed for the job 'Detect API changes' (with job status 'Failed') Pipeline on Agent |
|
🔥 Unable to find the contents for the comment: D:\a\1\s\change-detection\results\gh-comment.md does not exist :fire Pipeline on Agent |
Description
Remove the Mono mobile test variations by setting supports_mono=false in tests/xharness/Jenkins/TestVariationsFactory.cs, and stop the Mono runtime pack download in builds/Makefile and builds/package-download/download-packages.csproj.
Validation pipelines (must pass): macios (devdiv pipeline 16533) PR build.
Validation pins (temporary): pinned to .NET 11 test build 11.0.100-preview.6.26310.106 (AzDO dotnet-unified-build run 2996804, BAR 318158, source dotnet/dotnet@8d5d82abe13, branch dev/update-sdk-mobile-stage2) and the public general-testing NuGet feed, so CI exercises the SDK with the Mono mobile workloads and RIDs removed.
TODO before merge: revert the global.json / Version.Details.xml / Versions.props pins and the NuGet.config feed back to the official VMR versions and the main feed.