title: SSIS C# script task Newtonsoft.json reference keeps giving error" The Referenced component newtonsoft.json cannot be found"
body: <p>Getting a little frustrated here. I am trying to use the newtonsoft.json library in a c# script task in SSIS. I open the solution, I went to references and installed it via "manage NuGet packages". </p>
  
  <p>When I install it, it's all well and good and I can start writing code and I get no errors. However, as soon as I save the solution and exit out of vs back to ssis, if I open it again, the reference now has a warning icon and says "The referenced component 'Newtonsoft.Json' could not be found" and all my code is underlined red. </p>
  
  <p>Any ideas on how to fix this??</p>
  
  <p>Not sure if it's worth noting but I didn't download/save any .dll files or install anything other than just in the "manage nuget packages" console</p>
  
  <p>This is what my packages.config lists:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     &lt;packages&gt;
     &lt;package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" /&gt;
     &lt;/packages&gt;
  </code></pre>
  
  <p>Also not sure if this is important but in the packages.config, the first " &lt; packages > " is underlined blue and states "the "packages" element is not declared."</p>