with VS 2015 Enterprise i get always following message on a solution while debugging: XAML Visual Diagnostic is either disabled or is not supported by the current application
Tools - Options - Debugging - General:
I have tried:
Curious: If i start the solution without debugging and i attach the debugger to the process, it works ...
Update: If i select "Enable native code debugging" in project settings - debug, it works !
Windows: By default, it appears on the IDE's left. If you don't see it, use Debug > Windows > Live Visual Tree to show it. Mac: By default, it appears on the IDE's right. If you don't see it, use View > Debug Windows > Live Visual Tree to show it.
When you start debugging in Visual Studio by selecting Debug > Start Debugging, or pressing F5, the Diagnostic Tools window appears by default. To open it manually, select Debug > Windows > Show Diagnostic Tools. The Diagnostic Tools window shows information about events, process memory, and CPU usage.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
I needed an additional debugging option to be disabled in order for the tools to work with my projects:
Tools - Options - Debugging - General:
I also faced this problem for some WPF projects that came to my pc from various sources. In my case the problem was in the project target framework - it was set to .NET Framework 3.5. The Live Visual Tree and the Live Property Explorer in VS 2015 do not work with .NET 3.5:
Inspect XAML properties while debugging
https://msdn.microsoft.com/en-us/library/mt270227.aspx
So I just changed the target framework to .NET Framework 4.0 in the project properties dialog (the Application tab) to make these 'live' tools work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With