title: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies
body: <p>I have a WinJS project that is previously built on Windows 8.1 using VS 2013. </p>
  
  <p>Recently I upgraded this project to Universal Windows 10 by creating a blank Javascript Universal windows 10 project and then added all my files from old project. </p>
  
  <p>I have Windows Runtime Components and also Class Library for SQLite. </p>
  
  <p>I added Universal Windows Runtime Component and Universal Class Library and copied all my files from old project to respective places.</p>
  
  <p>Somehow I managed to remove all the build errors. </p>
  
  <p>I installed all the required SQLite-net, SQLite for Universal Windows Platform, Newtonsoft, etc.</p>
  
  <p>But when I run the application and call a Native method in Windows Runtime Component it gives some kind of strange errors as:</p>
  
  <p><code>An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll but was not handled in user code.</code></p>
  
  <p><code>Additional information: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.</code></p>
  
  <p><a href="https://i.stack.imgur.com/inIpi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/inIpi.png" alt="enter image description here"></a></p>
  
  <p>Newtonsoft version is: 9.0.1</p>
  
  <p>My <strong>project.json</strong> file of Windows Runtime Component has following:</p>
  
  <pre><code>  {
    "dependencies": {
      "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0",
      "Newtonsoft.Json": "9.0.1"
    },
    "frameworks": {
      "uap10.0": {}
    },
    "runtimes": {
      "win10-arm": {},
      "win10-arm-aot": {},
      "win10-x86": {},
      "win10-x86-aot": {},
      "win10-x64": {},
      "win10-x64-aot": {}
    }
  }
  </code></pre>
  
  <p>My Visual Studio version is:</p>
  
  <p><a href="https://i.stack.imgur.com/YldNd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YldNd.png" alt="enter image description here"></a></p>
  
  <p>I tried removing all the Newtonsoft json and re-installing it but no luck.</p>