DotNetDepends 1.108.0
dotnet add package DotNetDepends --version 1.108.0
NuGet\Install-Package DotNetDepends -Version 1.108.0
<PackageReference Include="DotNetDepends" Version="1.108.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add DotNetDepends --version 1.108.0
#r "nuget: DotNetDepends, 1.108.0"
// 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.
- Add reference to DotNetDepends package.
<PackageReference Include="DotNetDepends" Version="1.108.0" ExcludeAssets="All" GeneratePathProperty="true" />
- Execute DotNetDepends.exe on build output.
<Target Name="AssemblyDependencies" AfterTargets="PostBuildEvent" Condition="($(dgml) != '')">
<Exec Command="$(PkgDotNetDepends)\tools\DotNetDepends.exe "$(TargetDir.TrimEnd('\\'))" "$(MSBuildProjectDirectory)\$(MSBuildProjectName)-Dependencies.dgml"" />
</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
- Start "Visual Studio Installer"
- 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
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)