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.
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.
1 answer
Sort by: Most helpful
-
Lukáš Rumpala 6 Reputation points
2022-09-06T11:40:21.333+00:00