dotnet-installer/eng/common/msbuild.ps1
dotnet-maestro[bot] 176c6c4b79
Update dependencies from https://github.com/dotnet/arcade build 20210506.1 (#10532)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - XliffTasks: from 1.0.0-beta.21251.1 to 1.0.0-beta.21254.1 (parent: Microsoft.DotNet.Arcade.Sdk)
2021-05-06 13:01:50 +00:00

27 lines
No EOL
536 B
PowerShell

[CmdletBinding(PositionalBinding=$false)]
Param(
[string] $verbosity = 'minimal',
[bool] $warnAsError = $true,
[bool] $nodeReuse = $true,
[switch] $ci,
[switch] $prepareMachine,
[switch] $excludePrereleaseVS,
[Parameter(ValueFromRemainingArguments=$true)][String[]]$extraArgs
)
. $PSScriptRoot\tools.ps1
try {
if ($ci) {
$nodeReuse = $false
}
MSBuild @extraArgs
}
catch {
Write-Host $_.ScriptStackTrace
Write-PipelineTelemetryError -Category 'Build' -Message $_
ExitWithExitCode 1
}
ExitWithExitCode 0