Skip to content

Glossary: C# Beyond the Basics

dotnet add reference

Also written: dotnet add App reference Lib, project reference, ProjectReference

Command that lets one project use the public types of another, such as the console app using `Shipping.Core`. It adds a `ProjectReference` to the `.csproj`.

Where the book teaches it

Related terms

class librarysolution