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.

Options menu within Visual Studio

That's it, XAML Hot Reload has been disabled, click OK to close the window and save the new settings.


Published at

Tags: Xaml,Visual Studio,Xamarin

Luke Alderton

Comments

Arthur Richardson
Hi Luke, I followed your instructions, but for some reason when I go to debug in the iOS emulator I'm still getting XAML Hot Reload Initializing message. I've update to visual studio 16.4.6. Any chance you've experienced this as well?
12/03/2020
BP
Arthur - Disabling the option in the Debugging section did not work for me too. I disabled the Hot Reload at Options -> Xamarin -> Hot Reload and it worked for me. I don't know the difference between the two options though.
14/05/2020
Chris
Same here, I needed to disable it in the Xamarin section for it to stick.
10/06/2020
Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By Nick on Raspberry Pi - Running Java app on Raspbian
14 Oct 2020, 19:37 PM
By Ivan on Fixed: Value cannot be null Parameter Name: source
15 Sep 2020, 19:47 PM
By Anand on Raspberry Pi - Bluetooth using Bluecove on Raspbian
7 Sep 2020, 16:53 PM
By Aquif on Xamarin Forms - Working with threads
9 Jul 2020, 13:50 PM
By Chris on Disabling XAML Hot Reload
10 Jun 2020, 15:23 PM
By Ben on Raspberry Pi - Running Java app on Raspbian
24 May 2020, 09:01 AM
By BP on Disabling XAML Hot Reload
14 May 2020, 21:59 PM
By Andy on Xamarin Forms - Working with threads
12 May 2020, 09:16 AM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development