mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
13 lines
393 B
Markdown
13 lines
393 B
Markdown
![]() |
# dotnet add reference
|
||
|
|
||
|
> Add .NET project-to-project references.
|
||
|
> More information: <https://learn.microsoft.com/dotnet/core/tools/dotnet-add-reference>.
|
||
|
|
||
|
- Add a reference to the project in the current directory:
|
||
|
|
||
|
`dotnet add reference {{path/to/reference.csproj}}`
|
||
|
|
||
|
- Add a reference to the specific project:
|
||
|
|
||
|
`dotnet add {{path/to/project.csproj}} reference {{path/to/reference.csproj}}`
|