Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuGet dependency solver incorrectly assumes the same package version as the transitive dependency. #11140

Open
brettfo opened this issue Dec 17, 2024 · 0 comments
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet

Comments

@brettfo
Copy link
Contributor

brettfo commented Dec 17, 2024

This test currently passes because both the top level package Some.Package and the transitive dependency Transitive.Package use the same version numbers. E.g., Some.Package/1.0.0 depends on Transitive.Package/1.0.0, and Some.Package/2.0.0 depends on Transitive.Package/2.0.0. If the versions of Transitive.Package are changed to 7.0.0 and 8.0.0 respectively, then the update fails.

The tight coupling of the package versions needs to be broken.

@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
Status: No status
Development

No branches or pull requests

1 participant