-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Grpc.Tools: Accented characters in nuget path breaks c# grpc tool compiler #17995
Copy link
Copy link
Closed
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/buglang/C#priority/P2
Description
1.18.0. C#
Windows 10 Pro x64
Reproduce :
- Create a .proto file in a project (Follow "Greeter" example)
- Add a nuget.config file and specify the globalPackagesFolder to a path containaing either a space or an accented character (éèàé...)
- Restore packages
- Build.
What did you expect to see?
Successful build
What did you see instead?
--grpc_out could not find the path specified
"C:\Users\Dré Lot\.nuget\packages\grpc.tools\1.18.0\tools\windows_x64\protoc.exe" --proto_path="C:\Repositories\MyRepo" --grpc_out="C:\Repositories\MyRepo\MyRepo.Server" --plugin=protoc-gen-grpc="C:\Users\Dré Lot\.nuget\packages\grpc.tools\1.18.0\tools\windows_x64\grpc_csharp_plugin.exe" "C:\Repositories\MyRepo\MyRepo\book.proto
This is what the Task executes. If I run this myself in a cmd, it works. For some reason, the task itself fails with --grpc-out The path specified could not be found
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/buglang/C#priority/P2