Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NU1109: Detected package downgrade: PackageB from 2.0.0 to centrally defined 1.0.0. Update the centrally managed package version to a higher version.
'Project' -> 'PackageA' 1.0.0 -> 'PackageB' (>= 2.0.0)
'Project' -> 'PackageB' (>= 1.0.0)
Issue
A project is configured to use NuGet Central Package Management and a transitive package dependency is pinned to a version lower than is specified by the dependency package. When resolving packages, NuGet respects the direct-dependency-wins rule and the pinned package version overrides the version specified by the dependency package which results in a lower version of the package being resolved which could result in issues at runtime.
true
Solution
- Update the
PackageVersionofPackageBto the higher version of the package.
- Disable Central Package Management transitive pinning to allow the package version specified by the dependency package to be used.
false