Disabling XAML Hot Reload
There are many reasons to disable XAML Hot Reload or the UI Debugging tools for XAML, for me it's just the simple fact that I don't use XAML and therefore don't want the feature slowing down my debug session for no reason. Others may want to disable it because they're using other XAML debugging features such as XAML Spy.
To disable XAML Hot Reload, you should open Visual Studio and follow these steps:
Open the Tools menu from the top bar.
Click Options... to open the Visual Studio Options menu.
From the left panel, choose Debugging from the list to open its specific settings on the right.
Scroll almost to the bottom to find 'Enable UI Debugging Tools for XAML', you can uncheck this to disable XAML debugging tools altogether.
If you don't want to disable all of the XAML debugging tools and merely want to just disable XAML Hot Reload, then uncheck 'Enable XAML Hot Reload' from just under the previously mentioned setting.
That's it, XAML Hot Reload has been disabled, click OK to close the window and save the new settings.
Published at 20 Jan 2020, 11:12 AM
Tags: Xaml,Visual Studio,Xamarin