-
Notifications
You must be signed in to change notification settings - Fork 906
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 does not deal with blocking version conflicts from existing installed packages #116
Comments
😢 🐼 |
I believe this is because NuGet doesn't seem to take into account all of the existing packages in the local repository, ONLY the ones it is currently dealing with (installing / upgrading). |
I, too, just experienced this. Our application needs this to be handled, can the priority on this be bumped up? In the meantime, we'll have to write custom logic to facilitate this. |
It was a lower priority at one point - once we realized it has other issues, we bumped the priority of this (but not on the ticket). Follow #508 where I will be hopefully taking on a newer dependency of NuGet that does better at this. Otherwise we will start working into the dependency resolver and walker and making it know about every existing package as well because this is just... just not good. |
#507 is a hoot as well 👎 |
This requires .NET 4.5, so will need to be implemented with 0.9.11. |
Is this still on the radar? I just ran into it while testing new .NET Core packages. Given this dependency graph: this sequence:
should fail on the second choco invocation, but instead proceeds to upgrade dotnet-aspnetcoremodule-v2 to 13.1.20268, violating the dependency constraint of dotnetcore-3.0-windowshosting. |
From NuGet/Home#1870 (comment) it seems it could be fixed even with NuGet v2, without spending the major effort of upgrading to NuGet v3+. |
This appears to have been fixed as a part of #2740, and the below test was enabled to cover it: choco/src/chocolatey.tests.integration/scenarios/InstallScenarios.cs Lines 3136 to 3249 in c0e2f84
|
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
The text was updated successfully, but these errors were encountered: