7

I can't enable Live Visual Tree in Visual Studio 2017 for UWP app (C#). This tool was working on VS2015, but never worked for me in VS2017. It works with no problems for my WPF projects.

I'm getting the following error message in Live Visual Tree:

UI debugging requires the latest version of the SDK and the Universal Windows App Development Tools. Ensure that these tools are installed to enable UI Debugging.

What I tried:

  1. Make sure that Enable UI Debugging Tools for XAML is Checked in Options/Debugging.
  2. Reinstalled Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS

I can't find any information about the issue (relevant to VS 2017, although found some info about VS2015) in web or in Stack Overflow. Please help.

Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87

1 Answers1

1

After contacting Microsoft, they told me check if I have the following file:

C:\Program Files (x86)\Windows Kits\10\bin\x86\XamlDiagnostics\XamlDiagnostics.dll

I didn't even have a folder XamlDiagnostics.

Then I was asked to (re)install Windows 10 SDK. I downloaded the latest SDK from here and after I installed it, the problem gone.

Great thanks to Evgeny Tvorun [MSFT] who helped me with the issue.

The Visual Tree tool is really great and I feel lost all that time I was without it.

Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87