XAML Hot Reload Support
- 2 minutes to read
XAML (Visual Studio) Hot Reload for .NET MAUI allows you to view XAML changes without restarting your app. For more information on Hot Reload, refer to the following Microsoft article: Enable XAML Hot Reload.
Our .NET MAUI UI component suite supports Hot Reload with the limitations described below.
Limitations
If you modify DataTemplates in our MAUI Controls, Hot Reload will not update the application immediately.
As a workaround, comment and uncomment affected Template markup.
Changes to .NET MAUI Scheduler control Mappings are not supported. This limitation applies to the following mappings:
You can change a property value within a grid column’s editor. Examples of these properties include AutoCompleteColumn.NoResultsFoundText and NumberColumn.MinValue. If an editor was active during the change, you need to close and re-open that editor to view the updates.
If you change DXPopup properties (for example,
DXPopup.BackgroundColor
), close and re-open the popup to see the changes. This limitation does not affect popup content.
Troubleshooting
Hot Reload may cease to function in Debug mode when using Visual Studio for Mac. Our .NET MAUI UI components are not the cause of this issue. Should you encounter this bug, please restart Visual Studio.