title: binding redirect json.net from 6.0.0 to 4.5.5
body: <p>I'm working on a API using .net
  For this project i also need to use log4net and gelf4net.</p>
  
  <p>WebAPI uses Newtonsoft.json V4.5.0.0
  gelf4net uses Newtonsoft 6.0.0</p>
  
  <p>Then i updated Newtonsoft from nugget but i got an exception saying that Newtonsoft.json 4.5.0.0 cannot be loaded which is normal since i updated.</p>
  
  <p>i made some research and saw that binding redirect thing. i tried one but unfortunately i didn't find out how to make it work ...</p>
  
  <p>Here it is :</p>
  
  <pre><code>&lt;runtime&gt;
  &lt;assemblyBinding&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"  /&gt;
      &lt;codeBase version="4.5.0.0" href="bin\json.net\Newtonsoft.Json.dll" /&gt;
    &lt;/dependentAssembly&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" /&gt;
      &lt;bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="6.0.0.0"/&gt;
      &lt;codeBase version="6.0.0.0" href="bin\Newtonsoft.Json.dll" /&gt;
    &lt;/dependentAssembly&gt;
  &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  </code></pre>
  
  <p>i put the old version into a subfolder of bin and a href into the config ..
  stil getting the exception.</p>
  
  <p>i saw this on MS website </p>
  
  <pre><code>&lt;configuration&gt;
   &lt;runtime&gt;
    &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
       &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="myAssembly"
                            publicKeyToken="32ab4ba45e0a69a1"
                            culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="1.0.0.0"
                           newVersion="2.0.0.0"/&gt;
       &lt;/dependentAssembly&gt;
    &lt;/assemblyBinding&gt;
   &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I just don't understand since it's not possible to add two times the same assembly (even different version), so where the second one is supposed to be located ?
  Edit: </p>
  
  <p>also tried using a simple:</p>
  
  <pre><code>&lt;dependentAssembly&gt;
  &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/&gt;
  &lt;bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="6.0.0"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>would you have any advice / solution to test ?
  thank you !
  Regards.</p>