Skip to content
Snippets Groups Projects
Commit c283409d authored by Jon Skeet's avatar Jon Skeet
Browse files

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...
parent 7593cff3
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,12 @@ cd /d %~dp0 ...@@ -8,6 +8,12 @@ cd /d %~dp0
@rem Set VS variables (uses Visual Studio 2013) @rem Set VS variables (uses Visual Studio 2013)
@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86 @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 @rem Build the C# native extension
msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:PlatformToolset=v120 || goto :error msbuild ..\..\vsprojects\grpc_csharp_ext.sln /p:PlatformToolset=v120 || goto :error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment