ADepends.Tool 1.122.0

Prefix Reserved
dotnet tool install --global ADepends.Tool --version 1.122.0
                    
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 ADepends.Tool --version 1.122.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ADepends.Tool&version=1.122.0
                    
nuke :add-package ADepends.Tool --version 1.122.0
                    

ADepends.exe

The ADepends tool scans a folder containing assemblies and config file and generates a DGML file of the assembly dependencies.

Built with net8.0

🔨 dotnet tool

How to manage .NET tools

Prerequisite

Requires install of net8.0 runtime

Install

Refer to Install a global tool

dotnet tool install -g adepends.tool

Run

Refer to Invoke a global tool

adepends [path] [outFile]

Syntax

usage: ADepends.exe [path] [outFile]
path = Input directory containing assembly (.exe|.dll) files.
outFile = Output assembly dependencies Directed Graph document (.dgml) file.

Use in Visual Studio project

The ADepends tool can be called post-build to generate an Assembly Dependency graph DGML file from build output.

  
  <Target Name="AssemblyDependencies" AfterTargets="PostBuildEvent" Condition="('$(BuildingInsideVisualStudio)' == 'true')">
    <Exec Command="dotnet adepends &quot;$(TargetDir.TrimEnd('\\'))&quot; &quot;$(MSBuildProjectDirectory)\$(MSBuildProjectName)-Dependencies.dgml&quot;" />
  </Target>

Output

Open the generated DGML file in Visual Studio with "DGML Editor" component installed.

How to: Modify Visual Studio workloads, components, and language packs

  1. Start "Visual Studio Installer"
  2. Modify installation by adding: Individual components → Code tools → "DGML editor"

The tool creates a node for each assembly and an edge for each static dependency.

Sample screenshot of EXE with two DLL dependencies. Screenshot

Metadata

  • FileName: Readme.md
  • Version: 1.122.0
  • DateTime: 2025-04-10 07:40:57
  • Repo: AzureStack-Solution-DevTools
  • Branch: main
  • Configuration: Release
  • Platform: x64

©2025 Microsoft Corporation aluty@microsoft.com

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
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.122.0 157 11 days ago
1.120.0 467 a month ago

ADepends.exe 1.122.0 (Unknown 2025-04-10 07:40:54Z)