@kkm000
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
@kkm000
1.18.0. C#
Windows 10 Pro x64
Reproduce :
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.protoThis 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