title: How can I resolve dependency conflicts in Azure WebJob SDK?
body: <p>I am trying out the Azure WebJob SDK (v 0.3.1). I have packaged everything up and uploaded it, but in the dashboard I get the error:</p>
  
  <blockquote>
    <p>"Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" </p>
  </blockquote>
  
  <p>I understand this to mean that a newer version of <code>Newtonsoft.Json</code> is referenced in the app than is referenced in the WebJob SDK. However, I have tried adding a dependency binding redirect to the <code>app.config</code> associated with the exe, but this does not change the error.  I suspect that config is not being used at all. I have the following binding direct in both <code>job.blah.exe.config</code> and <code>web.config</code>:</p>
  
  <pre><code>  &lt;dependentAssembly&gt;
      &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /&gt;
      &lt;bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /&gt;
    &lt;/dependentAssembly&gt;
  </code></pre>
  
  <p>Newtonsoft.Json is v6.0.0.0 in both projects.</p>
  
  <p>What is the best way to resolve this issue?</p>