dotnet-reference-list(1) .NET Documentation dotnet-reference-list(1)

This article applies to: ✔️ .NET 6 SDK and later versions

dotnet-reference-list - Lists project-to-project references.

If you’re using .NET 9 SDK or earlier, use the “verb first” form (dotnet-list-reference) instead. The “noun first” form was introduced in .NET 10. For more information, see More consistent command order.

dotnet reference list [--project <PROJECT>]
dotnet reference list -h|--help
    

The dotnet reference list command provides a convenient option to list project references for a given project.

PROJECT

The project file to operate on. If a file is not specified, the command will search the current directory for one.

-?|-h|--help

Prints out a description of how to use the command.

List the project references for the specified project:
dotnet reference list --project app/app.csproj
    
List the project references for the project in the current directory:
dotnet reference list
    
2025-10-30