This article applies to: ✔️ .NET Core 3.1 SDK and later versions
Contents
Arguments
• PROJECT
The project file to operate on. If a file is not specified, the command will search the current direc‐
tory for one.
Description
The dotnetlistreference command provides a convenient option to list project references for a given
project.
Dotnet List Reference
Thisarticleappliesto: ✔️ .NET Core 3.1 SDK and later versions
Examples
• 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
2024-10-02 dotnet-list-reference(1)
Name
dotnet-list-reference - Lists project-to-project references.
Options
• -?|-h|--help
Prints out a description of how to use the command.
Synopsis
dotnet list [<PROJECT>] reference
dotnet list -h|--help
