Skip to content

Commit

Permalink
Revert "C# upgrade dotnet SDK (#6877)" (#6888)
Browse files Browse the repository at this point in the history
This reverts commit 0c8acb6.
  • Loading branch information
anandolee committed Nov 14, 2019
1 parent 0c8acb6 commit f068005
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions csharp/install_dotnet_sdk.ps1
Expand Up @@ -19,6 +19,3 @@ $SDKVersion = $GlobalJson.sdk.version
Write-Host "Downloading install script: $InstallScriptUrl => $InstallScriptPath"
Invoke-WebRequest -Uri $InstallScriptUrl -OutFile $InstallScriptPath
&$InstallScriptPath -Version $SDKVersion

# Also install dotnet SDK LTS which is required to run some of the tests
&$InstallScriptPath -Version 2.1.802
2 changes: 1 addition & 1 deletion global.json
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.0.100"
"version": "2.1.504"
}
}
3 changes: 1 addition & 2 deletions kokoro/linux/dockerfile/test/csharp/Dockerfile
Expand Up @@ -28,8 +28,7 @@ RUN apt-get update && apt-get install -y libunwind8 libicu57 && apt-get clean
# Install dotnet SDK via install script
RUN wget -q https://dot.net/v1/dotnet-install.sh && \
chmod u+x dotnet-install.sh && \
./dotnet-install.sh --version 2.1.802 && \
./dotnet-install.sh --version 3.0.100 && \
./dotnet-install.sh --version 2.1.504 && \
ln -s /root/.dotnet/dotnet /usr/local/bin

RUN wget -q www.nuget.org/NuGet.exe -O /usr/local/bin/nuget.exe
Expand Down

0 comments on commit f068005

Please sign in to comment.