Use msbuild in C# distribtests for legacy .csproj

pull/18467/head
Jan Tattermusch 6 years ago
parent 80fb0ce67f
commit 2ebbac117b
  1. 2
      test/distrib/csharp/run_distrib_test.sh
  2. 1
      tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile

@ -24,7 +24,7 @@ unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets_windows_dotnetcli.zip
# Retry "nuget restore" to work around https://github.com/grpc/grpc/issues/16312 # Retry "nuget restore" to work around https://github.com/grpc/grpc/issues/16312
nuget restore || nuget restore || nuget restore nuget restore || nuget restore || nuget restore
xbuild DistribTest.sln msbuild DistribTest.sln
mono DistribTest/bin/Debug/DistribTest.exe mono DistribTest/bin/Debug/DistribTest.exe

@ -18,6 +18,7 @@ RUN rpm --import "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0
RUN curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo RUN curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo
RUN yum install -y mono-devel RUN yum install -y mono-devel
RUN yum install -y msbuild
RUN yum install -y nuget RUN yum install -y nuget

Loading…
Cancel
Save