How to view the DGML files and replay any warnings.
Installing the DGML viewer allows any subsequent double clicking of a file with extension .dgml
within File Explorer
to be loaded by Visual Studio
:
Visual Studio Installer
.Modify
button.Individual components
tab.Code tools
section.DGML editor
.As can be surmised from its name DGML, Directed Graph Markup Language, is an XML based file format. The DGML file contains links to source code which may be invalidated when it is moved. Typically the environment variables contained in Path elements will need to be modified:
DirectedGraph
├ Paths
│ ├ Path Value="C:\...
│ ├ Path Value="C:\...
These links are used to navigate to the source code from the DGML viewer within Visual Studio and may also be used by the DeepEnds tools that take a DGML file as input.
A tool like ReportRedundant reads a DGML file and
produces output that Visual Studio
can interpret:
C:\warnings.txt
.Tools
menu select External Tools...
to launch the External Tools
dialogue box.Add
button.Title
enter DeepEnds
.Command
enter cmd.exe
.Arguments
enter /c type C:\warnings.txt
.Use Output window
.Apply
.Tools
menu select DeepEnds
to replay the file.Output
window which begins with a filename to jump to that file.