I had the same problem using VS2015 and creating a NuGet package with dependency on Newtonsoft.Json version = 10.0.3. I used the approach suggested by Vin.X in his answer, how about work.
After installing Newtonsoft.Json version = 9.0.1 in your project, add the following description to your .nuspec file.
<dependencies> <dependency id="Newtonsoft.Json" version="10.0.3" /> </dependencies>
An application that consumes your package will install Newtonsoft.Json = 10.0.3 along with your package as a dependency on your project.
user1467813 Jul 12 '17 at 18:31 on 2017-07-12 18:31
source share