add new chinese translations
This commit is contained in:
20
pages.zh/common/dotnet-add-reference.md
Normal file
20
pages.zh/common/dotnet-add-reference.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# dotnet 添加引用
|
||||
|
||||
> 添加 .NET 项目间的引用。
|
||||
> 更多信息:<https://learn.microsoft.com/dotnet/core/tools/dotnet-add-reference>。
|
||||
|
||||
- 向当前目录中的项目添加引用:
|
||||
|
||||
`dotnet add reference {{path/to/reference.csproj}}`
|
||||
|
||||
- 向当前目录中的项目添加多个引用:
|
||||
|
||||
`dotnet add reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}`
|
||||
|
||||
- 向特定项目添加引用:
|
||||
|
||||
`dotnet add {{path/to/project.csproj}} reference {{path/to/reference.csproj}}`
|
||||
|
||||
- 向特定项目添加多个引用:
|
||||
|
||||
`dotnet add {{path/to/project.csproj}} reference {{path/to/reference1.csproj path/to/reference2.csproj ...}}`
|
Reference in New Issue
Block a user