mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 00:49:18 +00:00
Update cheatsheets
This commit is contained in:
17
dotnet-add-reference
Normal file
17
dotnet-add-reference
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user