I have a Visual Studio project that relies on several links to a DLL. Here is an example of these links in my csproj:
<ItemGroup>
<Reference Include="Class1.Project1">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\bin\Class1.Project1.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Class1.Project2">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\bin\Class1.Project2.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
However, when I include this class in a project dependency in a website project, Visual Studio looks for the dependency dependencies shown above. During build, Visual Studio then deactivates the Copy Local property to True and copies these dependencies to my ~ / bin website directory.
This, in turn, overwrites the versions of the DLL files that already exist in this directory. This causes the following error:
'Class5.Project5, Version = 3.6.1861.2, Culture = , PublicKeyToken = dfeaee0e3978ac79 ' . . ( HRESULT: 0x80131040)
Visual Studio " " "False" ? , Visual Studio DLL . DLL.