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.
This commit is contained in:
parent
a7e6a946b7
commit
d5d0d29cf9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user