title: FileLoadException was unhandled by user code
body: <p>I am setting up the API for my MVC-4 app and when I uncommented this line in Globals.asax.cs:</p>
  
  <pre><code>WebApiConfig.Register(GlobalConfiguration.Configuration);
  </code></pre>
  
  <p>I received this exception when I started my project back up:</p>
  
  <pre><code>An exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll but was not handled in user code
  
  Additional information: 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)
  </code></pre>
  
  <p>What should I do?</p>
  
  <hr>
  
  <p><strong>Update 1 (screenshots)</strong></p>
  
  <p>from what I can tell, JSON.Net looks like it is installed correctly.</p>
  
  <p><img src="https://i.stack.imgur.com/dOtav.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/3mzim.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Ccmz0.jpg" alt="enter image description here"></p>
  
  <hr>
  
  <p><strong>Update 2</strong></p>
  
  <p>JSON.Net actually seems to work when the API routes are commented out in Globals.Asax. This doesn't throw any errors:</p>
  
  <pre><code>public ActionResult Index()
  {
       var foo = Newtonsoft.Json.JsonSerializer.Create();
       return View();
  }
  </code></pre>
  
  <p>Visual Studio only complains when this line is uncommented:</p>
  
  <pre><code>WebApiConfig.Register(GlobalConfiguration.Configuration);
  </code></pre>