Index: third_party/grpc/src/csharp/buildall.bat |
diff --git a/third_party/grpc/src/csharp/buildall.bat b/third_party/grpc/src/csharp/buildall.bat |
new file mode 100755 |
index 0000000000000000000000000000000000000000..fcc84426563ccb48661bc1082b488e65654523a1 |
--- /dev/null |
+++ b/third_party/grpc/src/csharp/buildall.bat |
@@ -0,0 +1,24 @@ |
+@rem Convenience script to build gRPC C# from command line |
+ |
+setlocal |
+ |
+@rem enter this directory |
+cd /d %~dp0 |
+ |
+@rem Set VS variables (uses Visual Studio 2013) |
+@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86 |
+ |
+@rem Build the C# native extension |
+msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:Configuration=Debug /p:PlatformToolset=v120 || goto :error |
+msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:Configuration=Release /p:PlatformToolset=v120 || goto :error |
+ |
+msbuild Grpc.sln /p:Configuration=Debug || goto :error |
+msbuild Grpc.sln /p:Configuration=Release || goto :error |
+ |
+endlocal |
+ |
+goto :EOF |
+ |
+:error |
+echo Failed! |
+exit /b %errorlevel% |