Skip to content

[mobile] .NET 11 mobile runtime configuration updates#25672

Merged
rolfbjarne merged 15 commits into
net11.0from
dev/update-sdk-mobile
Jun 24, 2026
Merged

[mobile] .NET 11 mobile runtime configuration updates#25672
rolfbjarne merged 15 commits into
net11.0from
dev/update-sdk-mobile

Conversation

@kotlarmilos

@kotlarmilos kotlarmilos commented Jun 11, 2026

Copy link
Copy Markdown
Member

Add two variables to determine how Mono is handled:

  • DOTNET_MONOVM_SUPPORTED: if Mono is still supported (in which case we'll run tests using Mono).
  • DOTNET_MONOVM_STILL_PRESENT: whether we still include Mono bits in the build and ship those bits.

The former is disabled, but the latter is still enabled for emergencies.

@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos kotlarmilos marked this pull request as ready for review June 12, 2026 09:46
@kotlarmilos kotlarmilos requested a review from rolfbjarne as a code owner June 12, 2026 09:46
Copilot AI review requested due to automatic review settings June 12, 2026 09:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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=false and 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-download and 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

Comment thread eng/Version.Details.xml Outdated
Comment thread global.json
Comment thread NuGet.config
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@kotlarmilos kotlarmilos self-assigned this Jun 12, 2026
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Failed to compute test summaries on VSTS: test results 🔥

Failed to compute test summaries: Cannot bind argument to parameter 'InputObject' because it is null..

Pipeline on Agent
Merge b0e9a9c into bd942da

@rolfbjarne

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Comment thread tests/dotnet/UnitTests/WindowsTest.cs
@rolfbjarne

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also there's a merge conflict in the PR now.

Comment thread tests/dotnet/UnitTests/BundleStructureTest.cs Outdated
@vs-mobiletools-engineering-service2

This comment has been minimized.

kotlarmilos and others added 2 commits June 15, 2026 19:31
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>
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne enabled auto-merge (squash) June 23, 2026 16:29
@rolfbjarne

Copy link
Copy Markdown
Member

@kotlarmilos FYI I changed the PR a little bit, we now build/include/ship Mono bits, but all the tests are still disabled.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #46d7a59] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 46d7a59047159aab395f5d72b733299ce290ebb0 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #46d7a59] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 46d7a59047159aab395f5d72b733299ce290ebb0 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 46d7a59047159aab395f5d72b733299ce290ebb0 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #46d7a59] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 46d7a59047159aab395f5d72b733299ce290ebb0 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #46d7a59] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 228 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 21 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 21 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 24 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 24 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 21 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 46d7a59047159aab395f5d72b733299ce290ebb0 [PR build]

@rolfbjarne rolfbjarne merged commit 6f66802 into net11.0 Jun 24, 2026
54 checks passed
@rolfbjarne rolfbjarne deleted the dev/update-sdk-mobile branch June 24, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants