dotnet-nuget-dependency-mining
Read-only mining codemod that inventories NuGet dependencies and classifies .NET 8 migration risk. Parses PackageReference, packages.config, GAC, and HintPath references. No files are written to the target repo.
Registry: private. Use the public
dotnet-migration-assessment-bundleto run all miners in one workflow.
What it does
- Parses
PackageReference,packages.config, GAC, and HintPath references in project files - Classifies each package against a .NET 8 compatibility knowledge base
- Emits risk tier, target version, and migration notes per dependency
Metrics
| Metric | Cardinalities |
|---|---|
dotnet-nuget-dependency | packageId, version, source, projectPath, riskTier, targetVersion, risk |
Risk tiers
supported— known-compatible on .NET 8requires-upgrade— needs a newer package versiondeprecated— consider replacing (e.g. log4net → Serilog)unsupported— requires a different library or rewrite (e.g. EF6 → EF Core)custom-binary/gac— HintPath or GAC references needing manual review
Run
Via bundle (recommended):
bash
Standalone (local monorepo):
bash
Testing
bash