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

  • PROJECT

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

Options

  • -h|--help

    Prints out a short help for the command.

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