If the reference is from another project, right click on the project you want to add the reference to and select "Edit Project File". Then add the ProjectReference line inside ItemGroup in the following format:
<ItemGroup>
...
<ProjectReference Include="..\Proj1\proj1.csproj" />
</ItemGroup>