New dependency resolver does not handle floating versions correctly in some situations #13992
Labels
Area:NewDependencyResolver
Issues related to the new dependency graph resolver
Priority:2
Issues for the current backlog.
RegressionFromPreviousRTM
A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3
Type:Bug
Milestone
NuGet Product Used
dotnet.exe, MSBuild.exe, NuGet.exe
Product Version
6.12
Worked before?
Yes, 6.11
Impact
None
Repro Steps & Context
Originally reported in https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2302642
Projects that use floating versions with the new dependency resolver can have issues with resolved packages. Sometimes a version conflict is incorrectly reported.
Project1:
Project2:
Verbose Logs
Workaround
Users can workaround the issue by setting an MSBuild property in their
Directory.Build.props
or an environment variable:The text was updated successfully, but these errors were encountered: