File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1+ $ErrorActionPreference = " Stop"
2+
3+ $RequiredDotnetVersion = $ (cat ./ global.json | convertfrom-json ).sdk.version
4+
5+ mkdir " ./build"
6+ Invoke-WebRequest " https://dot.net/v1/dotnet-install.ps1" - OutFile " ./build/installcli.ps1"
7+ & ./ build/ installcli.ps1 - InstallDir " $pwd /.dotnetcli" - NoPath - Version $RequiredDotnetVersion
8+ if ($LASTEXITCODE ) { exit 1 }
9+
10+ $env: Path = " $pwd /.dotnetcli;$env: Path "
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ skip_tags: true
33image : Visual Studio 2019
44configuration : Release
55install :
6- - ps : mkdir -Force ".\build\" | Out-Null
7- - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
8- - ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
9- - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121'
10- - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
6+ - ps : ./Setup.ps1
117build_script :
128- ps : ./Build.ps1
139test : off
Original file line number Diff line number Diff line change 1+ {
2+ "sdk" : {
3+ "version" : " 3.0.100"
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments