Live visual tree and hot reload in x64 WinUI 3

Hi,
I have a problem that I cannot see Live Visual Tree of my WinUI 3 application. Also Hot Reload doesn't work. I cannot even see the in-app toolbar. I can see both in WPF and UWP application, no problems. I have these options for hot reload, that should be fine.
Currently I am using W10, VS2022 17.3.1 and Windows App SDK in version 1.1.4. Weird is that it was functioning without problems, but one restart of application just broke that. It seems that 32-bit WinUI 3 app is working fine, it only affects 64-bit WinUI 3 applications. Even the new and blank ones. Packaged/unpacked type doesn't affect the problem.
I also tried adding the ENABLE_XAML_DIAGNOSTICS_SOURCE_INFO to environment variables manually, but no luck there. Updating the VS and Windows did not help. Repairing the VS did not help.
Thank you for some suggestions, but none of it helped. I also updated VS to 17.3.2. Problem is still the same.
Hi @Lukáš Rumpala ,
Did you still remember what you did before this feature didn’t work(before you restarted the application)? Did you have some extensions installed? Maybe VS cache affect this feature, please try cleaning cache(make a backup and remove all folders named
ComponentModelCache
inC:\Users\[username]\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX
).Hi @Tianyu Sun-MSFT
I tried cleaning the cache, no changes. What led to the problem? I just stopped the debug process from the VS and start it again, not installing or updating anything. Only thing that I can think of is running and crashing a VisualUIAVerifyNative tool few times alongside the VS (as I was working on some automation peers at that time).
@Tianyu Sun-MSFT So I completely uninstall VS and install it again after getting back from holidays, because this problem really slow down the development process. No change. What is more, some of my collogues experience same problem after latest update.
Hi @Lukáš Rumpala ,
From your description, I suspect this may be a potential issue. Could you raise a ticket on our Developer Community for further investigate?
Sign in to comment
1 answer
Sort by: Most helpful
Hi @Tianyu Sun-MSFT
I tried to raise a ticket, but I found solution to this as a related topic - XAML Hot Reload not working when running app in x64 platform to my issue on Developer Community. I do not like the solution, but it is working and helped me resolve my problem. Thank you.
Sign in to comment