Repository navigation
Docs (.NET 11): update MAUI runtime and compilation guidance - #3511
jfversluis merged 14 commits into
Conversation
|
Learn Build status updates of commit f3bf8b7: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
There was a problem hiding this comment.
🟡 Changes recommended
There are a few documentation consistency/clarity issues (notably trimming property guidance and platform/runtime table alignment) that could mislead readers if merged as-is.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates .NET MAUI documentation to reflect the .NET 11 runtime/compilation model (CoreCLR-only by default, NativeAOT as opt-in) while keeping .NET 10-and-earlier guidance versioned via monikers.
Changes:
- Updates .NET 11 “what’s new” to state CoreCLR is the only supported runtime (and refines Android/Apple runtime notes).
- Updates supported platform guidance to call out Android API 24+ for .NET 11.
- Reworks “Runtimes and compilation” to add .NET 11-specific CoreCLR/NativeAOT/ReadyToRun/trimming explanations with monikered sections.
File summaries
| File | Description |
|---|---|
| docs/whats-new/dotnet-11.md | Updates .NET 11 release notes to reflect CoreCLR-only runtime support and new Android/Apple runtime behavior details. |
| docs/supported-platforms.md | Updates .NET 11 platform requirements note (Android API 24+). |
| docs/deployment/runtimes-compilation.md | Refactors runtime/compilation guidance with monikers to distinguish <=.NET 10 (Mono) vs .NET 11 (CoreCLR/NativeAOT) behavior and comparisons. |
Review details
Suppressed comments (2)
docs/deployment/runtimes-compilation.md:499
- The .NET 11 MSBuild property reference table omits
PublishTrimmed, even though the page discusses trimming behavior and earlier sections use trimming terminology. AddingPublishTrimmedhere would make it easier for readers to discover how to explicitly enable/disable trimming in addition to settingTrimMode.
| Property | Description | Default |
|---|---|---|
| `PublishAot` | Enable NativeAOT compilation during `dotnet publish`. | `false` |
| `MauiEnableFullReadyToRun` | Enable full ReadyToRun for Android CoreCLR apps. | `false` |
| `TrimMode` | Set trimming aggressiveness for non-NativeAOT builds. | `partial` |
docs/deployment/runtimes-compilation.md:305
- This .NET 11 runtime table includes a tvOS row, but
docs/supported-platforms.mddescribes supported .NET MAUI app platforms as Android, iOS, Mac Catalyst, and Windows. Please align these pages: either add tvOS to the supported platforms list (if MAUI apps are supported there) or remove/clarify tvOS here so readers don't infer unsupported targets are valid.
| **Mac Catalyst** | CoreCLR + composite ReadyToRun + interpreter | CoreCLR + composite ReadyToRun + interpreter |
| **tvOS** | CoreCLR + composite ReadyToRun + interpreter | CoreCLR + composite ReadyToRun + interpreter |
| **Windows** | CoreCLR + JIT | CoreCLR + JIT + ReadyToRun |
- Files reviewed: 3/3 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
f3bf8b7 to
595f053
Compare
|
Learn Build status updates of commit 595f053: ✅ Validation status: passed
For more details, please refer to the build report. |
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
@rolfbjarne @jonathanpeppers @simonrozsival could you please review this? |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 2650fad: ✅ Validation status: passed
For more details, please refer to the build report. |
rolfbjarne
left a comment
There was a problem hiding this comment.
Looks great, just a few minor suggestions, feel free to take them or leave them.
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>
Clarify version ranges, NativeAOT build cost, Apple ReadyToRun defaults, and trimming properties. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ptions Refine .NET 11 runtime guidance on top of dotnet#3511
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit f74d535: ✅ Validation status: passed
For more details, please refer to the build report. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 3f5d8e8: ✅ Validation status: passed
For more details, please refer to the build report. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit f6ff6e7: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@jonathanpeppers could you please review this - so that I can merge it. I have other work which somewhat depends on this. |
Co-authored-by: Jonathan Peppers <jonathan.peppers@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit ebe693d: ✅ Validation status: passed
For more details, please refer to the build report. |
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit a3c58e1: ✅ Validation status: passed
For more details, please refer to the build report. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 4976b38: ✅ Validation status: passed
For more details, please refer to the build report. |
Summary
Updates the .NET MAUI runtime and compilation guidance for .NET 11 while
preserving the existing .NET 10 and earlier Mono guidance.
UseMonoRuntimeguidance.MauiEnableFullReadyToRun=true.strategy comparisons.
Migration guidance
UseMonoRuntime=true.PublishAot=trueand takes effectduring
dotnet publish.The standalone interpreter, profiling, and detailed NativeAOT pages remain
outside this focused update.
Validation
Internal previews
Build report