From d5d0d29cf9b83a4227e77a005c4aaf155101caf8 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 21 Mar 2016 14:20:26 -0700 Subject: [PATCH] Fix use of install.ps1 on AppVeyor Resolves #718. The 1.0.0 builds are no longer in the "beta" channel. Update version to 1888. --- README.md | 5 +++-- appveyor.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a0f19a74d..49fc7adc6 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ their [documentation][cli-docs]. The version of .NET CLI is very important, you want a recent 1.0.0 beta (**not** 1.0.1). The following instructions will install precisely -1.0.0.001718, though any 1.0.0 version *should* work. +1.0.0.001888, though any 1.0.0 version *should* work. > Previous installations of DNX, `dnvm`, or older installations of .NET CLI > can cause odd failures when running. Please check your version. @@ -109,7 +109,8 @@ Tested on Windows 10 and Windows Server 2012 R2. ```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.001718 -channel beta +./install.ps1 -version 1.0.0.001888 +$env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli ``` If you meet `Unable to cast COM object of type 'System.__ComObject' to diff --git a/appveyor.yml b/appveyor.yml index 0b2cd8415..281b5fea1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,11 +22,11 @@ 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.0.001718 -channel beta + - ps: ./install.ps1 -version 1.0.0.001888 build_script: - ps: | - $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin" + $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli" dotnet --version Import-Module .\PowerShellGitHubDev.psm1 Start-PSBuild