dotnet-installer/eng/common/msbuild.ps1
dotnet-maestro[bot] 132a4bff11
Update dependencies from https://github.com/dotnet/arcade build 20211109.3 (#12628)
[main] Update dependencies from dotnet/arcade
2021-11-10 14:15:40 +00:00

28 lines
No EOL
571 B
PowerShell

[CmdletBinding(PositionalBinding=$false)]
Param(
[string] $verbosity = 'minimal',
[bool] $warnAsError = $true,
[bool] $nodeReuse = $true,
[switch] $ci,
[switch] $prepareMachine,
[switch] $excludePrereleaseVS,
[string] $msbuildEngine = $null,
[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