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...
pull/4569/head
Jon Skeet 9 years ago
parent 7593cff337
commit c283409d84
  1. 6
      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

Loading…
Cancel
Save