10 lines
324 B
Batchfile
10 lines
324 B
Batchfile
@rem Generate the C# code for .proto files
|
|
|
|
setlocal
|
|
|
|
@rem enter this directory
|
|
cd /d %~dp0
|
|
|
|
packages\Google.Protobuf.3.0.0-alpha4\tools\protoc.exe -I../../protos --csharp_out Greeter ../../protos/helloworld.proto --grpc_out Greeter --plugin=protoc-gen-grpc=packages\Grpc.Tools.0.12.0\tools\grpc_csharp_plugin.exe
|
|
|
|
endlocal |