I manually edited in a reference (Reference
not ProjectReference
) in my csproj file, and after reviewing the code, I can see that the hintpath is wrong:
+ <Reference Include="Company.Core.Data.Web.UnitTests">
+ <HintPath>..\..\..\..\..\Code\Bin\Company.Core.Data.Web.UnitTests.dll</HintPath>
+ <Private>True</Private>
+ </Reference>
The right path would be ..\..\..\..\..\Build\UnitTests\Company.Core.Data.Web.UnitTests.dll
.
However, I notice that a clean build of my project works fine. Does this matter? Is this something I need to fix?