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
dotnet tool install -g dpi
Use -h
/ --help
to get the current list of available commands and options.
dpi --help
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
nuget analyze command inventories and outputs result to console or file.
dpi nuget --output table analyze
nuget report analyzes and reports the result to Azure Log Analytics.
export NuGetReportSettings_WorkspaceId=<workspaceid>
export NuGetReportSettings_SharedKey=<sharedkey>
dpi nuget --output table report