From d0ce0a73e8012a5a3cd24673e09eac7d47a22068 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 14 Mar 2018 15:22:04 +0100 Subject: fix C# distribtest on kokoro macos --- test/distrib/csharp/run_distrib_test.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/distrib') diff --git a/test/distrib/csharp/run_distrib_test.sh b/test/distrib/csharp/run_distrib_test.sh index eee24d0e57..b96872725e 100755 --- a/test/distrib/csharp/run_distrib_test.sh +++ b/test/distrib/csharp/run_distrib_test.sh @@ -21,6 +21,11 @@ unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets_windows_dotnetcli.zip ./update_version.sh auto +# With a recent-enough version of mono, the "nuget restore" command would +# restore packages based on project.json files, but we want to restore packages +# based on the net45 legacy "packages.config" file instead. +rm DistribTest/*project.json + nuget restore xbuild DistribTest.sln -- cgit v1.2.3