From 20d52e2d554b10601469696a5a1b3bb2ba95d617 Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Mon, 27 May 2024 21:31:29 +0200 Subject: [PATCH] dotnet-add-reference: add examples for multiple references (#12845) --- pages/common/dotnet-add-reference.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/dotnet-add-reference.md b/pages/common/dotnet-add-reference.md index d4c231218..2f64f023d 100644 --- a/pages/common/dotnet-add-reference.md +++ b/pages/common/dotnet-add-reference.md @@ -7,6 +7,14 @@ `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 ...}}`