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

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

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

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

The dotnet list reference 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 list app/app.csproj reference
    
List the project references for the project in the current directory:
dotnet list reference
    
2023-10-25
QR Code