.NET 11: document Preview 7 XAML tooling - #3454
Conversation
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 32f0a1d: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Pull request overview
Updates .NET MAUI documentation for .NET 11 Preview 7 by adding version-gated guidance on the new opt-in XAML Incremental Hot Reload engine and on trim-safe compiled RelativeSource ancestor bindings (with runtime fallback behavior).
Changes:
- Added a
>=net-maui-11.0section to document enabling XAML Incremental Hot Reload viaEnableMauiIncrementalHotReload. - Added a
>=net-maui-11.0section describing compilation ofRelativeSource AncestorTypebindings into trim-safe compiled bindings, with fallback cases. - Refreshed
ms.datemetadata on touched pages.
Show a summary per file
| File | Description |
|---|---|
| docs/xaml/hot-reload.md | Adds .NET 11+ documentation for enabling and understanding the new incremental hot reload engine. |
| docs/fundamentals/data-binding/compiled-bindings.md | Adds .NET 11+ documentation for trim-safe compilation of RelativeSource ancestor bindings and fallback behavior. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 1
Document opt-in incremental XAML Hot Reload and trim-safe RelativeSource ancestor binding compilation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove unresolved AncestorType from runtime fallback examples because type resolution failures stop XAML compilation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Document Debug-default incremental hot reload and exact SourceGen binding fallback behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b999d371-fbce-41a9-81f6-8167d7dc9cdf
32f0a1d to
1669fa6
Compare
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 1669fa6: ✅ Validation status: passed
For more details, please refer to the build report. |
State that unresolved AncestorType values fail XAML compilation without assigning one diagnostic code to every syntax. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b999d371-fbce-41a9-81f6-8167d7dc9cdf
|
Learn Build status updates of commit a71ee1b: ✅ 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 |
Clarify that SourceGen compiles resolvable RelativeSource AncestorType bindings independently of the legacy XamlC Source compilation flag. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b999d371-fbce-41a9-81f6-8167d7dc9cdf
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 494867e: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@jfversluis Release-day review requested. Final Preview 7 source verification is complete for Debug-default XAML Incremental Hot Reload and exact SourceGen |
Summary
dotnet watchRelativeSource AncestorTypebindings and exact runtime fallback and diagnostic behaviorSource verification
dotnet watchupdate path6f755e590— Preview 7 Debug-default activation and Release/publish defaultsRelativeSource AncestorTypeSourceGen compilationMaui34056Scenario 3 and shippedKnownMarkups.cs— no inlinex:DataTyperequirement and exactx:Referencefallback behaviorValidation
Internal previews