View Source link does not work in Live Visual Tree, Visual Studio 2017

  • Thread starter Thread starter RichW_
  • Start date Start date
R

RichW_

Guest
Environment:

  • Windows 10
  • Visual Studio 2017
  • .NET Framework 4.6.2 Targeted


Pre-reqs: Enable Runtime Tools. Disable managed compatibility mode. Create WPF project, mine includes custom dialogs and buttons (I don't think this matters though).


Steps:

    1. Start build in Debug mode
    2. Select "Enable Selection" from the runtime tools box.
    3. Select a control on the GUI.
    4. Select "Go to Live Visual Tree"
      • The selected control is identified in the Live Visual Tree.
    5. Right click control.
      • View Source option is listed, available, and clickable.
    6. Click "View Source".
      • ISSUE: Nothing happens, file is not shown.
    7. Right click the control again, select "Show Properties"
    8. Under Live Property Explorer, next to the "Local" drop down is the file where the control is referenced, it is a clickable link "testwindow.xaml". Click the link to the file (should be the same as the "View Source" button).
      • ISSUE: Nothing happens, file is not shown.

From here I can search the Solution Explorer and manually open the file.

What might prevent the "View Source" button from opening the file?

Continue reading...
 
Back
Top