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

Update NuGet.exe in lib folder #2270

Closed
gep13 opened this issue May 12, 2021 · 0 comments
Closed

Update NuGet.exe in lib folder #2270

gep13 opened this issue May 12, 2021 · 0 comments
Assignees
Labels
5 - Released BuildAutomation NO RELEASE NOTES Should not be included in the release notes - not enhancing or fixing end product.
Milestone

Comments

@gep13
Copy link
Member

gep13 commented May 12, 2021

When you attempt to build the Chocolatey code base on a completely fresh VM, it doesn't work correctly, since the version of NuGet.exe that is being used in the lib folder (version 2.7.41115.310) isn't able to establish a TLS connection with NuGet.org in order to restore packages.

We should update to a newer version within this lib folder.

Longer term, when we move away from UppercuT for the build process, we shouldn't need to check-in a version of NuGet.exe into the lib folder at all.

@gep13 gep13 added 2 - Working BuildAutomation NO RELEASE NOTES Should not be included in the release notes - not enhancing or fixing end product. labels May 12, 2021
@gep13 gep13 added this to the 0.10.16 milestone May 12, 2021
@gep13 gep13 self-assigned this May 12, 2021
gep13 added a commit that referenced this issue May 12, 2021
The previous version of NuGet.exe was no longer able to establish a TLS
connection to NuGet.org, and therefore couldn't resolve packages. This
caused problems on fresh VM's that were attempting to build the
Chocolatey source code.
@gep13 gep13 closed this as completed May 12, 2021
gep13 added a commit that referenced this issue May 13, 2021
* stable: (44 commits)
  (#2220) Add convert command to allowed list
  (#2049) Add --version to top level tab expansion
  (#944) Add tab expansion for help command
  (#357) Add tab expansion for export command
  (#357) Ensure to use full file path
  (maint) fix typo
  (maint) formatting
  (doc) pin: show reasons option
  (maint) log message on nuget conflict
  (#2270) Update to NuGet.exe 5.9.1.11
  (#2049) Add version option to help text
  (#2112) Add msp support to Install helper
  (maint) Change formatting
  (maint) Switch to using a Regex match
  (#2244) Add badge for latest docker semver version
  (#2244) Add status badge for GitHub Action
  (#2261) Minor tweak to remove extra space
  (#2261) Updates License Headers Copyright to 2021
  (#2263) Pack on Mono pass absolute path to PackageBuilder
  (#2244) Add Docker build into main workflow
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Released BuildAutomation NO RELEASE NOTES Should not be included in the release notes - not enhancing or fixing end product.
Projects
None yet
Development

No branches or pull requests

1 participant