DependencyVisualizerTool 1.0.0-beta.3
This is a prerelease version of DependencyVisualizerTool.
dotnet tool install --global DependencyVisualizerTool --version 1.0.0-beta.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local DependencyVisualizerTool --version 1.0.0-beta.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DependencyVisualizerTool&version=1.0.0-beta.3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DependencyVisualizerTool --version 1.0.0-beta.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependency Graph Visualizer tool
Description
This tool helps visualize dependency graph for your project. It can generate .dgml file(s) based on the dependency graph of your project. The DGML file could be visualized as following:
- The light blue node represents project and its version.
- The white node represents package and the resolved version.
- The number on the arrow represents the required version range.
- A red border means that a package is vulnerable.
- A yellow background means that a package is deprecated.
How to use
- Do solution restore or restore on a specific project.
- Run this tool (see Synopsis for more details about this tool).
- Open the generated .dgml file(s) in Visual Studio with Graph Document Editor or other Editor which supports the visualization of DGML file. (You may set open with Graph Document Editor as default in Visual Studio so next time you just need to double click the .dgml file.)
Synopsis
Description:
Dependency visualizer app
Usage:
DependencyVisualizer <projectFilePath> [options]
Arguments:
<projectFilePath> Project file path.
Options:
-o, --output <output> Output folder path used to store generated graph file(s). By default, it's the project folder.
--vulnerable Whether to visualize the vulnerable packages in your package graph
--deprecated Whether to visualize the deprecated packages in your package graph
--projects-only When used, generates a projects only graph.
--version Show version information
-?, -h, --help Show help and usage information
Examples
Generate .dgml file(s) in default project folder:
dotnet DependencyVisualizer C:\repos\ProjectA\ProjectA.csproj
Generate .dgml file(s) in a specified project folder:
DependencyVisualizerTool.exe C:\repos\ProjectA\ProjectA.csproj --output C:\repos\DependencyGraphFolder
Notes
- The name of the .dgml file will be projectName_TFM.dgml
- For project with multiple target frameworks, there will be multiple .dgml files generated.
Feedback
File bugs in the DependencyVisualizer repo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0-beta.3 | 346 | 8/1/2024 |
1.0.0-beta.2 | 195 | 5/23/2024 |
1.0.0-beta.1 | 398 | 11/7/2023 |