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".
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.
Any ideas on how to fix this??
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
This is what my packages.config lists:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" />
</packages>
Also not sure if this is important but in the packages.config, the first " < packages > " is underlined blue and states "the "packages" element is not declared."