Use x64 tools on 64-bit Windows in Grpc.Tools#17437
Use x64 tools on 64-bit Windows in Grpc.Tools#17437kkm000 wants to merge 1 commit intogrpc:v1.17.xfrom
Conversation
The Windows Nano Server Docker image does not support 32-bit executables. See: https://docs.microsoft.com/windows-server/get-started/getting-started-with-nano-server#important-differences-in-nano-server See: grpc#13207 (comment) Close: grpc#13098 (wontfix)
|
@kkm000 the change itself looks good, thanks for the fix. |
|
I created #17524 |
|
Use x64 tools on 64-bit Windows in Grpc.Tools (#17437 for master branch)
|
#17524 has been merged into master. The fix will be available in the v1.18.x (once it's released), until then a daily build of Grpc.Tools with the fix will be available on https://packages.grpc.io/ soon. |
|
/cc @hagen93, FYI, the fix is targeting 1.18. I know that you've switched to the full server image already, but if you happen to have time and desire to check, I'd appreciate getting your pass/fail report! |
|
@kkm000 I'd love to try this one and see if it fixes the problem but I can't seem to figure out how to install the package. As far as I can tell the daily packages are not uploaded to a NuGet feed anywhere which makes it quite cumbersome to test this issue. Any pointers? |
|
@hagen93 you need to create a local nuget feed (just a local directory) and you can install the nuget package from there https://medium.com/@churi.vibhav/creating-and-using-a-local-nuget-package-repository-9f19475d6af8 |
|
@kkm000 Can confirm that it works now 😄 @jtattermusch Do you have any info about when the 1.18 release will be available so we can start using this fix? |
|
@hagen93 Thanks for verifying the fix! |
The Windows Nano Server Docker image does not support 32-bit executables. See #13207 (comment) and next 2 comments. Thanks to @hagen93 for bringing up the issue!
Docs: https://docs.microsoft.com/windows-server/get-started/getting-started-with-nano-server#important-differences-in-nano-server
I confirmed generation working on my Windows 10 x64 machine:
Both protoc and the plugin are run from the
windows_x64package directory now.(If only I could come up with unit tests for the scripts!)
I was so wrong in #13098 about Windows always being able to run 32-bit processes! You never know...
@jtattermusch, I am targeting the v1.17.x branch, as this is essentially a hotfix, correct? Are there release notes that need to be updated?
Close: #13098 (wontfix)