Nuget Dependency Checker is a console application that parses the project.assets.json file of a .NET project and extracts information about the packages and their dependencies. With this data, it generates a dependency matrix and a visual dependency diagram using Graphviz/dot.
Nuget Dependency Checker is an open-source tool, and it doesn't require installation. You can build and run it directly from the source code.
- .NET 7.0
To use Nuget Dependency Checker, follow these steps:
-
Open a terminal or command prompt.
-
Navigate to the directory containing the compiled Nuget Dependency Checker executable or the project folder if running from the source code.
-
Run the tool with the following command:
NugetDependencyChecker {path to project.assets.json} {package prefix - optional}
{path to project.assets.json}
: Specify the path to the project.assets.json file of the .NET project you want to analyze.
{package prefix - optional}
: (Optional) Use the package prefix when you want to verify specific packages only.
Nuget Dependency Checker relies on Graphviz/dot for generating dependency diagrams. Make sure to have Graphviz/dot installed and available in your system's PATH.
Here are examples of the output generated by Nuget Dependency Checker:
Nuget Dependency Checker is distributed under the MIT License. See the LICENSE file for details.
Nuget Dependency Checker is created and maintained by Jantea Marius.