title: Two different versions of Newtonsoft.Json.dll needed in ASP.NET MVC
body: <p>I have developed a MVC application that has dependency on Connectwise SDK that uses Newtonsoft.Json.dll v6.0.0.0 and Dropbox SDK that uses Newtonsoft.Json.dll v7.0.0.0.</p>
  
  <p>I need to ensure that my project uses the appropriate dll when needed.
  After researching, I tried the following:
  - Placed the 2 dlls under sub-folders /dlls/6.0.0.0/ and /dlls/7.0.0.0 resp.
  - Referenced version 6.0.0.0 dll in project References
  - Added to web.config</p>
  
  <pre><code>&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
          &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;/bindingredirect&gt;          
          &lt;/dependentAssembly&gt;
         &lt;dependentAssembly&gt;
            &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"
              culture="neutral" /&gt;
            &lt;bindingredirect oldVersion="7.0.0.0-7.1.0.0" newVersion="7.0.0.0"&gt;&lt;/bindingredirect&gt;
            &lt;codeBase version="7.0.0.0" href="dlls/7.0.0.0/Newtonsoft.Json.dll" /&gt;
          &lt;/dependentAssembly&gt;
        &lt;/assemblyBinding&gt;     
  </code></pre>
  
  <p>Could not load file or assembly 'Newtonsoft.Json, Version=7.0.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>
  
  <p>Is my href incorrect ?? dlls folder is in the same level as Content folder in MVC project</p>
  
  <p>Thanks,
  Gagan</p>