Labs-Windows icon indicating copy to clipboard operation
Labs-Windows copied to clipboard

Fixed XAML Hot Reload for samples under UWP / VS 2022

Open Arlodotexe opened this issue 2 years ago • 4 comments

Overview

This PR fixes an issue where Hot Reload wasn't working as expected. Changes to XAML code were not reflected in the running app.

Hot Reload now works as expected.

Arlodotexe avatar Sep 20 '22 23:09 Arlodotexe

I created a new page and got this, but it's still working on my other page, so I'm a bit confused...

image

I'll see if it persists when I rebuild.

michael-hawker avatar Sep 21 '22 20:09 michael-hawker

Hmm, actually I merged this into my branch and it doesn't seem to detect it still or work with hot reload (I did a git clean too after closing VS)

image

What VS version are you using?

michael-hawker avatar Sep 21 '22 20:09 michael-hawker

This may be another bug as I reverted this change back, and still saw this:

image

Funny thing is it worked fine in WindowsAppSDK, so specific to UWP?

michael-hawker avatar Sep 21 '22 20:09 michael-hawker

Hot Reload is now working on main on my machine, without these code changes 🤔

Arlodotexe avatar Sep 22 '22 16:09 Arlodotexe