Migration (.NET 11): document compatibility package removal - #3404
Conversation
Document that Microsoft.Maui.Controls.Compatibility is no longer built or shipped in .NET 11 and later, while preserving the older package-reference guidance behind monikers. 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 8fbd0a9: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Pull request overview
Documents the removal of the optional Microsoft.Maui.Controls.Compatibility NuGet package for .NET MAUI on .NET 11+ and updates migration guidance so readers on earlier versions keep the compatibility reference while .NET 11+ guidance references only Microsoft.Maui.Controls.
Changes:
- Monikered the “Add package references” section to keep
Microsoft.Maui.Controls.Compatibilityguidance for<=net-maui-10.0and remove it for>=net-maui-11.0. - Added .NET 11+ guidance to remove the compatibility package reference and migrate off APIs/renderers that only existed in the opt-in compatibility package.
- Added a .NET 11+ IMPORTANT note to the custom renderers migration doc clarifying the compatibility package removal while keeping shimmed renderer guidance.
Show a summary per file
| File | Description |
|---|---|
| docs/migration/multi-project-to-multi-project.md | Adds monikered package-reference guidance for .NET 11+ compatibility package removal. |
| docs/migration/custom-renderers.md | Adds a .NET 11+ IMPORTANT note about the compatibility package removal and migration implications. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 2
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 f511920: ✅ Validation status: passed
For more details, please refer to the build report. |
Summary
Microsoft.Maui.Controls.CompatibilityNuGet package is no longer built or shipped for .NET 11 and later.Microsoft.Maui.Controls.Microsoft.Maui.Controls.Source verification
release/11.0.1xx-preview6no longer containssrc/Compatibility/Core/src/Compatibility.csproj.RelativeLayoutstill exist undersrc/Controls/src/Coreinrelease/11.0.1xx-preview6.Validation
markdownlint-cli2on the changed docs.Internal previews