The problem arises because you depend on a newer version of System.Net.Http than one of the other assemblies requires.
The correct way to solve this problem is to add dependentAssembly redirects to the abusive projects app.config . The accepted answer about disabling errors simply masks the main problem.
Add the following to the runtime section of app.config to reassign an old version that might not be allowed for the version specified in your project. Obviously, version numbers should be updated to suit your situation.
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime>
TheCodeKing Nov 06 '13 at 21:21 2013-11-06 21:21
source share