An open API service indexing awesome lists of open source software.

https://github.com/xiaomi7732/projectdependencyviz

C# Project Dependency Visualizer
https://github.com/xiaomi7732/projectdependencyviz

dependencies nuget-package references visualization visualizations

Last synced: 8 months ago
JSON representation

C# Project Dependency Visualizer

Awesome Lists containing this project

README

          

# .NET Project Dependency Analyzer

Visualize .NET project dependencies.

## The problem

It is not always clear which package or packages on the chain bring in a dated package. A visualizer helps find it. For example, assuming `Microsoft.AspNetCore.Components.Web/6.0.7` is out of compliance, you want to find out what projects/packages currently depend on it:

![An image shows dependency chain to Microsoft.AspNetCore.Components.Web/6.0.7](./images/DependentToWeb.png)

## Get started

1. Build your .NET projects.
1. Go to , and click `Choose asset file` button.
1. Locate `projects.assets.json` under `obj` folder:

![A image showing open assets file](./images/OpenProjectAssetsFile.png)

1. Select `Target package` of `Microsoft.AspNetCore.Components.Web/6.0.7` from the drop-down and with the direction of `Up`, and the search depth to 0 (unlimited).
* So that the search starts at the target package, looking for all upstream packages to the root.

And check out the result in the graph area. In this instance:

`ArchAnalyzer/net6.0` depends on `Microsoft.AspNetCore.Components.WebAssembly/6.0.7`, which depends on `Microsoft.AspNetCore.Components.Web/6.0.7`.