-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vcpkg.exe cannot determine the version of the downloaded nuget.exe. #38940
Comments
You should use |
The command was my mistake. It is indeed .\vcpkg.exe upgrade |
nuget.exe was actually downloaded under downloads\tools. The major difference between the two nuget.exe versions is no "version" strong is found in the 6.10 output. |
Same issue with a French OS/Version Nuget 6.2 (working)
Nuget 6.10 (failed)
|
I found code in vcpkg-tool expecting a fixed string to extract the nuget version as this:
|
So the new space before the |
So the localisations break it: |
I reverted the changes in f33c861 locally as a workaround to use vcpkg. |
I recompiled the vcpkg-tool according to this and successfully solved the problem of NuGet outputting localized strings. |
If your are here the quick fixes for Either go back 2 months ago to latest official tag working or just revert the problematic commit an use nugget 6.2 or recompile a vcpkg with the PR provided |
microsoft/vcpkg-tool#1451 is another alternative pull request for vcpkg. The change should be minimal to solve this problem IMO. |
Describe the bug
vcpkg.exe cannot determine the version of the downloaded nuget.exe and stops its execution.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
vcpkg.exe would continue the upgrade process.
Failure logs
vcpkg.exe did not provide any log locations.
Additional context
My environment uses the Japanese locale. nuget.exe 6.2.1 produced
NuGet Version: 6.2.1.2
but 6.10.0 producesNuGet バージョン: 6.10.0.107
. The localized output seems to be the cause.The text was updated successfully, but these errors were encountered: