dotnet list reference

This topic applies to: ✓ .NET Core 1.x SDK .NET Core 2.x SDK

Name

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

Synopsis

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

Description

The dotnet list reference command provides a convenient option to list project references for a given project or solution.

Arguments

  • PROJECT

    Specifies the project file to use for listing references. If not specified, the command searches the current directory for a project file.

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