commands.sh

dotnet add reference

all

Add .NET project-to-project references.

More info →

Examples (4)

Add a reference to the project in the current directory

dotnet add reference path/to/reference.csproj

Add multiple references to the project in the current directory

dotnet add reference path/to/reference1.csproj path/to/reference2.csproj ...

Add a reference to the specific project

dotnet add path/to/project.csproj reference path/to/reference.csproj

Add multiple references to the specific project

dotnet add path/to/project.csproj reference path/to/reference1.csproj path/to/reference2.csproj ...
made by @shridhargupta | data from tldr-pages