Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>C# Dependency GraphNew to Visual Studio Code? Get it now.
C# Dependency Graph

C# Dependency Graph

danilocolombi

|
367 installs
| (0) | Free
Generates a graph of your project dependencies
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C# Dependency Graph

A simple VS Code extension that generates a graph of your project dependencies.

Requirements

This extension generates a .dot file that can be opened with Graphviz. You can preview the graph in VS Code by installing a Graphiviz viewer extension, in the example above I used Graphviz Preview.

How to Generate the .dot file

  1. From your solution directory, open the command prompt (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type > Generate Dependency Graph
  2. Choose the file path
  3. Select weather you want to show the project version or not
  4. The file should be created.

How to Preview the .dot file with Graphviz Interactive Preview

  1. Open the file in VS Code
  2. Open the command prompt (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type > Preview Graphviz / Dot

Skipping Test Projects

This extension will skip projects that have a test folder in the path.

License

MIT

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft