Update version ranges in nuspec file to use maximum inclusive rather than maximum exclusive #999
Closed
4 tasks done
Labels
5 - Released
The issue has been resolved, and released to the public for consumption
Bug
Issues where something has happened which was not expected or intended
Milestone
Checklist
What You Are Seeing?
When attempting to upgrade to the latest stable package versions for the 2.x/6.x release of the Chocolatey products, there are issues with resolving package dependencies. This is due in part to a bug in the NuGet.Core assemblies with regard to how maximum exclusive/inclusive versions are handled.
Currently, for Chocolatey GUI, we use the following:
This can cause problems for example when you attempt to upgrade to a pre-release 2.0.0 package version, compared to a stable 2.0.0 package version.
To avoid any ambiguity, and prevent confusion going forward, the suggestion is to switch to:
That way, the cross over to the 2.0.0 release is clear, and should no longer impact on dependency resolution that is performed.
A similar change has already been made to the version ranges in the upcoming 2.x and 6.x releases.
What is Expected?
There should be no dependency resolution problems when attempting to perform
choco upgrade chocolatey
when a major version range is being crossed.How Did You Get This To Happen?
An attempt was made to upgrade to the latest stable package version for all of the Chocolatey products, i.e. 2.x.
System Details
Installed Packages
Output Log
Additional Context
N/A
The text was updated successfully, but these errors were encountered: