Skip to content

Refine .NET 11 runtime guidance on top of #3511 - #3515

Closed
jonathanpeppers wants to merge 3 commits into
pr3511-runtime-guidance-basefrom
jonathanpeppers-dotnet-11-runtime-options
Closed

jonathanpeppers wants to merge 3 commits into
pr3511-runtime-guidance-basefrom
jonathanpeppers-dotnet-11-runtime-options

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Builds on #3511 and refines the .NET 11 RC 1 runtime guidance:

  • Preserves the established ReadyToRun terminology.
  • Documents partial ReadyToRun for Apple Debug builds and full ReadyToRun for Release builds.
  • Clarifies that the iOS CoreCLR interpreter is always enabled and runs code where the OS disallows JIT compilation.
  • Preserves NativeAOT's experimental status on Android.
  • Preserves the existing coreclr-on-android-and-ios section anchor and removes unsupported .NET 10 Apple CoreCLR guidance.

Dependency

This PR is based on a temporary upstream mirror of the current #3511 head because #3511 originates from a fork. After #3511 merges, this branch should be rebased onto main and the temporary mirror can be removed.

Files changed

  • docs/deployment/runtimes-compilation.md
  • docs/whats-new/dotnet-11.md

Upstream references


Internal previews

File Preview link
docs/deployment/runtimes-compilation.md Learn preview
docs/whats-new/dotnet-11.md Learn preview

Build report

Copilot AI lite review requested due to automatic review settings September 9, 2026 21:21
@jonathanpeppers
jonathanpeppers requested a review from a team as a code owner September 9, 2026 21:21
@jonathanpeppers

Copy link
Copy Markdown
Member Author

Trying to make this doc have a dropdown for .NET 10 vs 11, so hopefully can test that when the preview page is available.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 650348f:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@jonathanpeppers

Copy link
Copy Markdown
Member Author

Dropdown appears to work:

image image

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.

🟡 Changes recommended

Runtime defaults conflict with release guidance, and Android ReadyToRun and NativeAOT documentation remain incomplete.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates .NET MAUI runtime and compilation guidance for .NET 11 RC 1 while preserving .NET 10 content through DocFX monikers.

Changes:

  • Documents CoreCLR defaults and interpreter behavior.
  • Updates ReadyToRun and NativeAOT guidance.
  • Refreshes runtime properties and platform-specific compilation details.
File summaries
File Description
docs/deployment/runtimes-compilation.md Updates versioned runtime, compilation, ReadyToRun, interpreter, and NativeAOT documentation.
Review details

Suppressed comments (2)

docs/deployment/runtimes-compilation.md:316

  • The .NET 11 Android guidance introduces the partial ReadyToRun default, but this property reference omits the new MauiEnableFullReadyToRun opt-in. Readers cannot apply the documented size/startup tradeoff without this switch; add it with a false default and Android-only scope.
| `PublishReadyToRun` | Enable ReadyToRun pre-compilation for CoreCLR. | `true` for CoreCLR `Release` builds |

docs/deployment/runtimes-compilation.md:319

  • The Mono interpreter paragraph above says UseInterpreter defaults to true in Android Debug builds as well as iOS and Mac Catalyst, but this updated reference only lists the Apple platforms. Include Android so the .NET 10 default table does not contradict the prose.
| `UseInterpreter` | Enable the Mono interpreter. This property doesn't control the CoreCLR interpreter on iOS. | `true` (iOS/Mac Catalyst Debug through .NET 10) |
  • Files reviewed: 1/1 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/deployment/runtimes-compilation.md Resolved
Comment thread docs/deployment/runtimes-compilation.md Resolved
Comment thread docs/deployment/runtimes-compilation.md Resolved
Comment thread docs/deployment/runtimes-compilation.md Resolved
@jonathanpeppers
jonathanpeppers force-pushed the jonathanpeppers-dotnet-11-runtime-options branch from 650348f to 731af16 Compare September 9, 2026 21:31
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 731af16:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@vitek-karas

Copy link
Copy Markdown
Member

I haven't done a detailed review but this seems to address similar problems as #3511.

Document CoreCLR, ReadyToRun, interpreter, and NativeAOT behavior for .NET 11 while preserving .NET 10 guidance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers
jonathanpeppers force-pushed the jonathanpeppers-dotnet-11-runtime-options branch from 731af16 to 0c3ae63 Compare September 10, 2026 13:12
@jonathanpeppers jonathanpeppers changed the title Update runtime and compilation guidance for .NET 11 RC 1 Refine .NET 11 runtime guidance on top of #3511 Sep 10, 2026
@jonathanpeppers
jonathanpeppers changed the base branch from main to pr3511-runtime-guidance-base September 10, 2026 13:13
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 0c3ae63:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)
docs/supported-platforms.md ✅Succeeded View (>=net-maui-8.0)
docs/whats-new/dotnet-11.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 0c3ae63:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)
docs/whats-new/dotnet-11.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

Clarify version ranges, NativeAOT build cost, Apple ReadyToRun defaults, and trimming properties.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit d49bf6f:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)
docs/whats-new/dotnet-11.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

Keep the established composite partial and composite full word order while retaining the clarified platform defaults.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 4a3ff27:

✅ Validation status: passed

File Status Preview URL Details
docs/deployment/runtimes-compilation.md ✅Succeeded View (>=net-maui-8.0)
docs/whats-new/dotnet-11.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

@jonathanpeppers

Copy link
Copy Markdown
Member Author

Superseded by vitek-karas#1, which targets the source branch for #3511 directly.

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.

3 participants