Paul Sinnema
Paul Sinnema

Reputation: 2792

Xamarin.Forms Hot Reload not working in UWP

I've read and followed all the hints for Hot Reloading in UWP on this page:

https://learn.microsoft.com/en-us/visualstudio/xaml-tools/xaml-hot-reload-troubleshooting?view=vs-2019

Just can't get it to work. It works in Android not iOS (which is not supported at the moment).

Any additional thought to the page mentioned above?

Upvotes: 3

Views: 2629

Answers (2)

Thomas Glaser
Thomas Glaser

Reputation: 2197

Recently Hot Reload "2.0" was shipped in Visual Studio 2019 16.8, which finally includes Hot Reload support for UWP. But it only works if you go into the Visual Studio settings and set it Changes Only (Preview), as shown in the screenshot below.

Visual Studio Settings - Hot Reload

See this post for more details:

https://devblogs.microsoft.com/xamarin/dotnetconf-2020-xamarin-recap/#xaml-hot-reload-2-0

Upvotes: 4

Lucas Zhang
Lucas Zhang

Reputation: 18861

No additional installation or setup is required to use XAML Hot Reload. It's built into Visual Studio and can be enabled in the IDE settings. Once enabled, you can start using XAML Hot Reload by debugging your app on an emulator, simulator, or physical device.

On Windows, XAML Hot Reload can be enabled by checking the Enable Xamarin Hot Reload checkbox at Tools > Options > Xamarin > Hot Reload.

For more information, please visit the documentation.

Upvotes: 0

Related Questions