DotNetDepends 1.95.0

dotnet add package DotNetDepends --version 1.95.0
NuGet\Install-Package DotNetDepends -Version 1.95.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.95.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.95.0
#r "nuget: DotNetDepends, 1.95.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.95.0

// Install DotNetDepends as a Cake Tool
#tool nuget:?package=DotNetDepends&version=1.95.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.95.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.95.0
  • DateTime: 2024-04-13 02:52:26
  • 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.95.0 211 4/13/2024
1.92.0 196 3/9/2024
1.91.0 149 2/22/2024
1.88.0 163 1/27/2024
1.86.0 150 1/13/2024
1.84.0 393 12/5/2023
1.82.0 231 12/2/2023
1.80.0 262 11/15/2023

DotNetDepends.exe 1.95.0 (Unknown 2024-04-13 02:52:24Z)