[XAML] Re-enable Incremental Hot Reload by default in Debug - #37157
Merged
Conversation
Restore the net11.0 Debug default that #36832 temporarily disabled now that the XIHR deterministic and Edit-and-Continue fixes are in place. Release builds remain off by default, and explicit opt-in or opt-out values are still respected. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
rmarinho
approved these changes
Aug 6, 2026
kubaflo
approved these changes
Aug 6, 2026
Redth
enabled auto-merge
August 6, 2026 18:21
Contributor
There was a problem hiding this comment.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Note
This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.
mauroa
approved these changes
Aug 6, 2026
Member
|
/backport to release/11.0.1xx-preview7 |
1 similar comment
Member
|
/backport to release/11.0.1xx-preview7 |
Contributor
|
Started backporting to |
Contributor
|
@PureWeen an error occurred while backporting to |
PureWeen
added a commit
that referenced
this pull request
Aug 6, 2026
…y default in Debug (#37163) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! Backport of #37157 to release/11.0.1xx-preview7 Re-enables XAML Incremental Hot Reload by default for Debug builds while preserving the opt-out and keeping Release/publish builds disabled by default. The legacy hot-reload fallback MSBuild test remains explicitly pinned to XIHR off. **Validation** - The backport patch matches squash merge commit `6bb9daf7aa47bde8e750635959e7c4db3c46561e` exactly (`git range-diff`). - `dotnet build Microsoft.Maui.BuildTasks.slnf` passed with 0 warnings and 0 errors. - `MSBuildTests.HotReloadSupportForXSG` passed for Debug and Release (2/2). - `git diff --check` passes. cc @PureWeen @Redth Co-authored-by: Jonathan Dick <jodick@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description
Re-enables XAML Incremental Hot Reload (XIHR) by default for Debug builds on
net11.0. This undoes the temporary opt-out from #36832 now that the deterministic generation and Edit-and-Continue stability fixes from #36833 are merged.Behavior
EnableMauiIncrementalHotReloadMauiXamlHotReloadtrueSourceGenfalseLegacyfalsefalseLegacytruetrueSourceGenThe legacy fallback test remains explicitly pinned to XIHR-off and its comment now reflects the restored Debug default.
Testing
MSBuildTests.BuildAProjectMSBuildTests.HotReloadSupportForXSG(Debug and Release)