Update chocolatey.lib to a build using the new NuGet assemblies.
Changes various items to adjust to breaking API changes in the new library version. Specifically SemanticVersion was replaced with NuGetVersion, and changes to adjust for the move from IPackage to IPackageMetadata and IPackageSearchMetadata were the main things required.
Motivation and Context
ChocolateyGUI will need to work with Chocolatey v2.0.0
Testing
Opened ChocolateyGUI
Went to CCR feed and looked at default page (paging and ordering known broken)
Searched on CCR feed
Viewed details of a package.
Added local feed with outdated wget package available
Viewed local feed
Installed wget from that local feed
Noted that wget was correctly marked as outdated
Updated wget from CCR
Pinned and unpinned wget
Viewed details for wget
Uninstalled wget
Operating Systems Testing
Windows 10 22H2
Change Types Made
[x] Bug fix (non-breaking change).
[x] Feature / Enhancement (non-breaking change).
[x] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
Update
chocolatey.lib
to a build using the new NuGet assemblies.Changes various items to adjust to breaking API changes in the new library version. Specifically
SemanticVersion
was replaced withNuGetVersion
, and changes to adjust for the move fromIPackage
toIPackageMetadata
andIPackageSearchMetadata
were the main things required.Motivation and Context
ChocolateyGUI will need to work with Chocolatey v2.0.0
Testing
Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
Preliminary work for #974