I'm having an issue when I try to build my project, I get this error:
'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp'
Everything I see about this says to update your nuget package manager, so I updated from VS 2015, to 2017 and that didn't work. I update VS2017 to the latest version, still getting that error when I try to build. I tried setting the build dialog verboisty to Diagnostic, but it did not change the text at all. What else can be causing this, because I'm stumped.
The error is accompanied by this error:
The command ""C:\Users\...\NuGet.exe" pack "C:\Users\...\Project.csproj" -Properties "Configuration=Debug;Platform=AnyCPU" -NonInteractive -OutputDirectory "C:\Users\...Debug" -symbols" exited with code 1.
When I run the command manually in the command prompt, it just gives me the dependency already defined error.
EDIT
This was marked as a possible duplicate. It's not, the 3rd paragraph explains why.