aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-12-23 09:32:27 +0000
committerGravatar Jon Skeet <jonskeet@google.com>2015-12-23 09:36:21 +0000
commitc283409d84a299c35f5a6bb1e643c5728cbe38e0 (patch)
treec17493a2565da790d1092bbf4e69765efe6075d2 /src
parent7593cff337629ca179302ddf6ce2cbedbbbcab73 (diff)
Restore dependencies in buildall.bat
Without this, even the C++ code fails to build (from a clean clone) due to missing includes. Note that this requires that nuget.exe is on the path. Better alternatives welcomed...
Diffstat (limited to 'src')
-rw-r--r--src/csharp/buildall.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/csharp/buildall.bat b/src/csharp/buildall.bat
index d85896c255..6173629ddd 100644
--- a/src/csharp/buildall.bat
+++ b/src/csharp/buildall.bat
@@ -8,6 +8,12 @@ cd /d %~dp0
@rem Set VS variables (uses Visual Studio 2013)
@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86
+@rem Fetch all dependencies
+nuget restore ..\..\vsprojects\grpc.sln || goto :error
+nuget restore ..\..\vsprojects\grpc_csharp_ext.sln || goto :error
+nuget restore ..\..\vsprojects\grpc_protoc_plugins.sln || goto :error
+nuget restore Grpc.sln || goto :error
+
@rem Build the C# native extension
msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:PlatformToolset=v120 || goto :error