dotnet list reference
This article applies to: ✔️ .NET Core 2.x SDK and later versions
Name
dotnet list reference - Lists project-to-project references.
Synopsis
dotnet list [<PROJECT>] reference
dotnet list -h|--help
Description
The dotnet list reference command provides a convenient option to list project references for a given project.
Arguments
PROJECTThe project file to operate on. If a file is not specified, the command will search the current directory for one.
Options
-?|-h|--helpPrints out a description of how to use the command.
Examples
List the project references for the specified project:
dotnet list app/app.csproj referenceList the project references for the project in the current directory:
dotnet list reference