How to force Visual Studio to reference local Enterprise Library DLL file instead of installed dir file

折月煮酒 提交于 2019-12-02 05:12:25

Okay, I had to dig into the .proj files. Under are tags. You can add within the Reference tags to direct the project to a specific DLL instance.

<ItemGroup>
  <Reference Include="Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
    <HintPath>..\lib\Microsoft.Practices.EnterpriseLibrary.Common.dll</HintPath>
  </Reference>
  ...

Highlight the reference in the Solution and change the "Copy Local" in the properties window to True, see if that helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!