Skip to content

Commit 20d52e2

Browse files
authoredMay 27, 2024
dotnet-add-reference: add examples for multiple references (tldr-pages#12845)
1 parent fbeade0 commit 20d52e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎pages/common/dotnet-add-reference.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77

88
`dotnet add reference {{path/to/reference.csproj}}`
99

10+
- Add multiple references to the project in the current directory:
11+
12+
`dotnet add reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}`
13+
1014
- Add a reference to the specific project:
1115

1216
`dotnet add {{path/to/project.csproj}} reference {{path/to/reference.csproj}}`
17+
18+
- Add multiple references to the specific project:
19+
20+
`dotnet add {{path/to/project.csproj}} reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}`

0 commit comments

Comments
 (0)
Please sign in to comment.