Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Issues with creating NuGet packages, requires other packages to be downloaded

$
0
0

I am not sure why this is happening, but it's driving me nuts. We created a local NuGet package, inside this project we are doing some JSON modifying. Then when it's done, it returns a .NET class.

The issue I'm running into, even though this should be a black box, when I reference this NuGet package, it throws an error because I need to add Newtonsoft JSON package. Why would I need that if I'm not using JSON at all in the application, the NuGet package seems to rely on the consuming project to have the package.

What am I doing wrong? How can I keep this NuGet package as a true "black-box" and not require the consuming application to reference the Newtonsoft package?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>