Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/core/tools/dotnet-add-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The `dotnet add reference` command provides a convenient option to add project r
<ProjectReference Include="app.csproj" />
<ProjectReference Include="..\lib2\lib2.csproj" />
<ProjectReference Include="..\lib1\lib1.csproj" />
<ProjectReference Include="..\lib3\lib3.fsproj" />
</ItemGroup>
```

Expand Down Expand Up @@ -72,6 +73,12 @@ There's no CLI command to add a reference to an assembly that isn't in a project
dotnet add app/app.csproj reference lib/lib.csproj
```

- Add a compatible .NET language project (e.g. F#) referenc, works in both ways:

```dotnetcli
dotnet add app/app.csproj reference lib/lib.fsproj
```

- Add multiple project references to the project in the current directory:

```dotnetcli
Expand Down
Loading