[Bug]: When using the CentralPackageTransitivePinningEnabled feature please avoid redundant references #11818
Labels
Area:RestoreCPM
Central package management
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:DCR
Design Change Request
NuGet Product Used
dotnet.exe
Product Version
7.0.100-preview.4.22227.3
Worked before?
No
Impact
It bothers me. A fix would be nice
Repro Steps & Context
dotnet pack
with a 7.0 preview4 SDK.Expect:
No dependency listed for `System.Text.Encodings.Web, since the version specified centrally is equivalent to the transitive dependency.
Actual:
A redundant dependency on System.Text.Encodings.Web is listed.
The dependency is largely just a cosmetic nuisance, but I expected it to go away when the dependency didn't need to be lifted.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: