Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article applies to: ✔️ .NET Core 3.1 SDK and later versions
Name
dotnet reference list - Lists project-to-project references.
Note
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.
Synopsis
dotnet reference list [--project <PROJECT>]
dotnet reference list -h|--help
Description
The dotnet reference list 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 reference list --project app/app.csprojList the project references for the project in the current directory:
dotnet reference list