diff options
Diffstat (limited to 'examples/csharp/route_guide/generate_protos.bat')
-rw-r--r-- | examples/csharp/route_guide/generate_protos.bat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/csharp/route_guide/generate_protos.bat b/examples/csharp/route_guide/generate_protos.bat new file mode 100644 index 0000000000..fb0dc5516b --- /dev/null +++ b/examples/csharp/route_guide/generate_protos.bat @@ -0,0 +1,10 @@ +@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 RouteGuide ../../protos/route_guide.proto --grpc_out RouteGuide --plugin=protoc-gen-grpc=packages\Grpc.Tools.0.7.0\tools\grpc_csharp_plugin.exe + +endlocal
\ No newline at end of file |