Skip to main content
Any Framework

Dependency Inventory .NET Tool - Inventories dependencies to Azure Log Analytics

Published
Oct 10, 2026
8d ago
Total Downloads
379.5K
379,509

Install

dotnet add package DPI --version 2026.10.10.507

No framework information available.

README

DPI

NuGet

Dependency Inventory .NET Tool - Inventories dependencies and reports to Azure Log Analytics

You can get an introduction to the tool, in the blog post: Introducing DPI - A DevOps tool to inspect dependencies and report to Azure Log Analytics

Obtain

dotnet tool install -g dpi

Commands

Use -h / --help to get the current list of available commands and options.

dpi --help

nuget

The NuGet branch of commands have recursively from given path inventories packages present in

  • csproj (project assets if restored)
  • packages.config
  • .NET Tool manifests
  • Cake build script files
  • C# file-based apps (*.cs files that start with #!/usr/bin/env dotnet, inventorying #:sdk and #:package; omitted #:sdk versions are taken from msbuild-sdks in global.json)
analyze

nuget analyze command inventories and outputs result to console or file.

# Output as table (default)
dpi nuget --output table analyze

# Output as JSON
dpi nuget --output json analyze

# Output as Markdown
dpi nuget --output markdown analyze

# Save output to file
dpi nuget --output json --file dependencies.json analyze
report

nuget report analyzes and reports the result to Azure Log Analytics.

export NuGetReportSettings_WorkspaceId=<workspaceid>

export NuGetReportSettings_SharedKey=<sharedkey>

# Output as table (default)
dpi nuget --output table report

# Output as JSON
dpi nuget --output json report

# Output as Markdown
dpi nuget --output markdown report

# Save output to file
dpi nuget --output json --file report.json report

Changes from Previous Version

No structural changes between v2026.9.9.482 and v2026.10.10.507.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.