Skip to main content

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

  1. 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.

  2. Changes to .NET MAUI Scheduler control Mappings are not supported. This limitation applies to the following mappings:

  3. 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.

  4. 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.

See also: XAML Hot Reload for .NET MAUI – Troubleshooting