dotnet / project-system

The .NET Project System for Visual Studio
MIT License
972 stars 389 forks source link

Hint Path's should not be added to references found in search paths #235

Open davkean opened 8 years ago

davkean commented 8 years ago

Unlike csproj/vbideprj, CPS is adding hint paths to references found in the search path when added via Reference Manager, such as assemblies from reference assemblies:

    <Reference Include="WindowsBase">
      <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\WindowsBase.dll</HintPath>
    </Reference>
davkean commented 7 years ago

This also applies to those found in AssemblyFoldersEx.