Build error coming due to dll version conflict

Viewed 17

I am getting the below in the output window when building the dotnet project.

No way to resolve conflict between "Microsoft Practices EnterpriseLibrary Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx" and "Microsoft Practices EnterpriseLibrary Common, Version=4.1.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx. Choosing "Microsoft Practices EnterpriseLibrary Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx" arbitrarily.

Microsoft.Practices.EnterpriseLibrary.Common only two projects in my solution contain this dll file referenced in them and only for Version=5.0.414.0.I am not sure why the above conflict is coming in the output window. Can anyone suggest how to resolve this conflict.

I am using Visual Studio 2017.

Target Framework for all the projects is NetFramework 4.

0 Answers
Related