From 5c0abec45bfb8f7dd84e393fbbb7b47cbd973c6e Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 17 Feb 2016 18:11:19 -0800 Subject: [PATCH] Pin CLI to 1.0.0.001425 and update readme --- .travis.yml | 2 +- README.md | 15 +++++++++++++-- appveyor.yml | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cc1dee3c..9490263cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ before_install: - sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 - sudo apt-get -qq update - - sudo apt-get install -y dotnet-nightly=1.0.1.001252-1 + - sudo apt-get install -y dotnet=1.0.0.001425-1 script: - dotnet restore - ./build.sh diff --git a/README.md b/README.md index a7321fb59..9d1ddc297 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,19 @@ We use the [.NET Command Line Interface][dotnet-cli] (`dotnet-cli`) to build the managed components, and [CMake][] to build the native components (on non-Windows platforms). Install `dotnet-cli` by following their [documentation][]. -**Make sure to `apt-get install dotnet-nightly=1.0.1.001252-1` for a known, -good version.** +The version of .NET CLI is very important, you want a recent 1.0.0 beta +(**not** 1.0.1). + +These are known good versions: + +```sh +sudo apt-get install dotnet=1.0.0.001425-1 +``` + +```powershell +Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1 +./install.ps1 -version 1.0.0.001425 -channel beta +``` > Note that OS X dependency installation instructions are not yet documented, > and Core PowerShell on Windows only needs `dotnet-cli`. diff --git a/appveyor.yml b/appveyor.yml index 2142682e4..9a53bddff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,7 +15,7 @@ install: - git config --global url.git@github.com:.insteadOf https://github.com/ - git submodule update --init --recursive -- src/monad src/windows-build src/Microsoft.PowerShell.Linux.Host/Modules/Pester - ps: Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1 - - ps: ./install.ps1 -version "1.0.1.001186" + - ps: ./install.ps1 -version 1.0.0.001425 -channel beta build_script: - ps: $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin"