← All recipes
Moderne licensed

List .NET dependencies (SBOM)

Recipe IDOpenRewrite.CSharp.Recipes.ListDependenciesArtifactOpenRewrite.Recipes.CSharp.Core

Records every dependency of each .NET project — NuGet packages, assembly references, and project references — into the Dependencies in use data table, forming a Software Bill of Materials. Reports the resolved dependency graph when the MSBuildProject marker is available and falls back to the raw .csproj XML otherwise, so it works for both .NET (Core) and .NET Framework projects.

Single recipesearchdotnetcsprojsbomdependenciesProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.CSharp.Recipes.ListDependencies

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Core