aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/helper_scripts
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-05-10 16:07:12 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-05-10 16:07:55 +0200
commit32c41e8d729b040c556389ca294125bcd3757639 (patch)
tree560be03a8149f734760b756b8c39ed055155dd3d /tools/run_tests/helper_scripts
parentd3eab8f288bf083d7e345c08400301940f7365d2 (diff)
avoid concurrency issues with dotnet restore
Diffstat (limited to 'tools/run_tests/helper_scripts')
-rw-r--r--tools/run_tests/helper_scripts/pre_build_csharp.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/helper_scripts/pre_build_csharp.bat b/tools/run_tests/helper_scripts/pre_build_csharp.bat
index 05c6cf0f61..2ae870ebb1 100644
--- a/tools/run_tests/helper_scripts/pre_build_csharp.bat
+++ b/tools/run_tests/helper_scripts/pre_build_csharp.bat
@@ -32,7 +32,9 @@ cmake -G "Visual Studio 14 2015" -A %ARCHITECTURE% -DgRPC_BUILD_TESTS=OFF -DgRPC
cd ..\..\..\src\csharp
-dotnet restore Grpc.sln || goto :error
+if NOT DEFINED GRPC_SKIP_DOTNET_RESTORE (
+ dotnet restore Grpc.sln || goto :error
+)
endlocal