This post shows you how to solve the problem

No way to resolve conflict between "System.Net.Sockets, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Sockets, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Choosing "System.Net.Sockets, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily.


Consider app.config remapping of assembly "System.Net.Sockets, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "" [] to Version "" [C:\Working\Source\FoxLearn.WCF\bin\Debug\System.Net.Sockets.dll] to solve conflict and get rid of warning.

When rebuilding your project in the visual studio.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see

To fix the problem above you should open the app.config file, then modify your configuration as shown below.

  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">    
      <assemblyIdentity name="System.Net.Sockets" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
      <bindingRedirect oldVersion="" newVersion="" />