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

why my nuget package triggers dependency dll downgrade when install?

$
0
0

I have a nuget package that consumed by internal teams.This is the dependency section in the nuspec file

<dependencies><dependency id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="5.2.9" /><dependency id="Newtonsoft.Json" version="12.0.2" /><dependency id="System.Runtime.Caching" version="4.5.0" /><dependency id="Polly" version="7.1.0" /></dependencies>

When some teams installed my nuget package, they complained that some dlls were downgraded. For example:enter image description here

andenter image description here

Yes, the code does use newton. However, in my dependency section, I didn't hard code the exact version and from visual studio, it shows this and I think newton json version 13 should be bigger than 12.0.2?enter image description hereThen for System.Memory, I didn't include that as a dependency, so how come its version got degraded?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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