-
Notifications
You must be signed in to change notification settings - Fork 255
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
Upgrade to target version 2.0.0 of Chocolatey.Lib assemblies #974
Comments
The RemoveAll method is not longer accessible from NuGet.Client, so add it here manually
@TheCakeIsNaOH @AdmiringWorm I have added this issue to a new 2.0.0 milestone, but I am now wondering if this needs to be a 2.0.0 and not just a 1.2.0. Thoughts? My thoughts here being that Chocolatey GUI already has a requirement for .NET Framework 4.8. |
Just spoken with @TheCakeIsNaOH about this, and we agree that this will be a breaking change to Chocolatey GUI, so the next version will be 2.0.0 |
If we start taking a minimum dependency on Chocolatey v2.0.0, I agree this will be a breaking change. |
The RemoveAll method is not longer accessible from NuGet.Client, so add it here manually
The RemoveAll method is not longer accessible from NuGet.Client, so add it here manually
The RemoveAll method is not longer accessible from NuGet.Client, so add it here manually
This commit updates the Chocolatey Libraries to be the latest version we have available internally. This will cause any open source builds to fail.
This commit updates the Chocolatey Libraries to be the latest version available on NuGet.org.
(#974) Preliminary update chocolatey.lib
While the PR associated with this has been merged, we still need to bump the version number in the nuspec, but we can't do that quite yet, unless we take a dependency on the alpha release, in the interim, or we simply hold off and update it to 2.0.0 once we ship. |
In order for things to work correctly, both during debugging, and release builds, it is necessary to remove the explicit targetting of the referenced Chocolatey assembly. This is similar to what is done elsewhere in other Chocolatey codebases, and allows for both officially signed, and non-officially signed, refernces to be used.
Note: This will fail OSS builds of Chocolatey GUI until we release a new alpha version of Chocolatey.Lib.
This includes bumping the dependency in the nuspec to the required version range.
Ensure that the chocolatey.dll and chocolatey.pdb file are not copied into the MSI file. ChocolateyGUI should use only the system installed version of Chocolatey, and not a local version.
In a previous commit: 86f974c The SpecificVersion and Private properties had been removed, which meants that the chocolatey.dll was being copied, incorrectly, to the output folder, as well as requiring a specificversion of a referenced assembly to be provided. The former has been "fixed" by ensuring that the MSI project doesn't include the chocolatey.dll into the MSI, however, this commit addresses the issue at the source as well. This means that while in Debug mode, the chocolatey.dll will be copied to the output folder to help with debugging of Chocolatey GUI, however, in other build configurations, it will not be copied.
So that everything in this next release cycle lines up.
* release/2.0.0: (61 commits) (maint) Update to latest Chocolatey NuGet package (maint) Update to latest Chocolatey package (build) Re-enable release notes export (maint) Added copyright to nuspec file (build) Updated GRM config file (maint) Update to released beta packages (maint) Switch from int to long (maint) Update to latest beta Chocolatey packages (maint) Remove @everyone from Discord notification (maint) Bump to beta package in nuspec (maint) Update to latest beta Chocolatey packages (build) Update to latest Chocolatey.Cake.Recipe (build) Remove unnecessary configuration (build) Add notification templates (maint) Prevent download of relase notes (#974) Update to released beta packages (#974) Update to beta packages for Chocolatey (#989) Remove usage of side by side (#990) Fix usage of ListCommand (#974) Update to latest alpha package ...
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
* master: (maint) Remove usage of obsolete methods (#1000) Ensure sensitive arguments are detected (maint) Update to latest Chocolatey NuGet package (maint) Update to latest Chocolatey package (build) Re-enable release notes export (maint) Added copyright to nuspec file (build) Updated GRM config file (maint) Update to released beta packages (maint) Switch from int to long (maint) Update to latest beta Chocolatey packages (maint) Remove @everyone from Discord notification (maint) Bump to beta package in nuspec (maint) Update to latest beta Chocolatey packages (build) Update to latest Chocolatey.Cake.Recipe (build) Remove unnecessary configuration (build) Add notification templates (maint) Prevent download of relase notes (#974) Update to released beta packages
Checklist
Is Your Feature Request Related To A Problem? Please describe.
As Chocolatey CLI will be moving to v2.0.0 at some point, Chocolatey GUI should take a dependency on it.
Describe The Solution. Why is it needed?
The
chocolatey.lib
dependency needs to be updated, and code needs to be adjusted to account for breaking changes.Additional Context
No response
Related Issues
The text was updated successfully, but these errors were encountered: