Live Visual Tree shows only .exe after click refresh button in Visual Studio Community 2022

Soya Ohnishi 1 Reputation point
2022-08-04T14:38:52.737+00:00

To learn how to add elements to Grid dynamically, I ran a sample project.
After appearing a main window, Live Visual Tree shows UI elements in expect like below a left image .
However, if I push a refresh button in Live Visual Tree, it shows only .exe and others are disappered like a below right image.
228203-visualstudio-refreshbutton.png228180-visualstudio-afterclick-refreshbutton.png

I read a tutorial document at here, but I cannot find what I missed.
I also create a new project and paste an example code attached above document, and I also see same problem.

How to resolve this issue?

Environment
OS: Windows 10 Home 21H2 19044.1826
CPU: AMD Ryzen 5 2400G
IDE: Visual Studio Community 2022

Please tell me if there are lacks of aninfomation.

Thanks

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,676 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
766 questions
{count} votes