dotnet-installer/eng/common/dotnet-install.ps1
dotnet-maestro[bot] 5f2491ef20
[master] Update dependencies from dotnet/arcade (#1882)
* Update dependencies from https://github.com/dotnet/arcade build 20190505.2

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19255.2

* Update dependencies from https://github.com/dotnet/arcade build 20190506.12

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19256.12
2019-05-07 12:30:40 +00:00

22 lines
No EOL
454 B
PowerShell

[CmdletBinding(PositionalBinding=$false)]
Param(
[string] $verbosity = "minimal",
[string] $architecture = "",
[string] $version = "Latest",
[string] $runtime = "dotnet"
)
. $PSScriptRoot\tools.ps1
try {
$dotnetRoot = Join-Path $RepoRoot ".dotnet"
InstallDotNet $dotnetRoot $version $architecture $runtime $true
}
catch {
Write-Host $_
Write-Host $_.Exception
Write-Host $_.ScriptStackTrace
ExitWithExitCode 1
}
ExitWithExitCode 0