Live visual tree and hot reload in x64 WinUI 3

Lukáš Rumpala 6 Reputation points

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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,764 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
737 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Lukáš Rumpala 6 Reputation points

    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.

    0 comments No comments