DotNetDepends 1.108.0

dotnet add package DotNetDepends --version 1.108.0                
NuGet\Install-Package DotNetDepends -Version 1.108.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotNetDepends" Version="1.108.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetDepends --version 1.108.0                
#r "nuget: DotNetDepends, 1.108.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotNetDepends as a Cake Addin
#addin nuget:?package=DotNetDepends&version=1.108.0

// Install DotNetDepends as a Cake Tool
#tool nuget:?package=DotNetDepends&version=1.108.0                

DotNetDepends.exe

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

Built with net8.0

Syntax

usage: DotNetDepends.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 DotNetDepends tool can be called post-build to generate an Assembly Dependency graph DGML file from build output.

  1. Add reference to DotNetDepends package.
    <PackageReference Include="DotNetDepends" Version="1.108.0" ExcludeAssets="All" GeneratePathProperty="true" />
  1. Execute DotNetDepends.exe on build output.
  
  <Target Name="AssemblyDependencies" AfterTargets="PostBuildEvent" Condition="($(dgml) != '')">
    <Exec Command="$(PkgDotNetDepends)\tools\DotNetDepends.exe &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"

Metadata

  • FileName: Readme.md
  • Version: 1.108.0
  • DateTime: 2024-10-04 04:14:32
  • Repo: AzureStack-Solution-DevTools
  • Branch: main
  • Configuration: Release
  • Platform: x64

©2023 Microsoft Corporation aluty@microsoft.com

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.108.0 136 10/16/2024
1.105.0 156 8/30/2024
1.104.0 112 8/30/2024
1.102.0 129 7/18/2024
1.101.0 174 6/21/2024
1.99.0 163 5/31/2024
1.97.0 158 5/21/2024
1.95.0 312 4/13/2024
1.92.0 276 3/9/2024
1.91.0 227 2/22/2024
1.88.0 237 1/27/2024
1.86.0 226 1/13/2024
1.84.0 463 12/5/2023

DotNetDepends.exe 1.108.0 (Unknown 2024-10-04 04:14:31Z)