14dff36d3d
A second '/bl' parameter to msbuild looks to have been causing the filename specified in the first one to be ignored, which meant the log filename didn't match what was set up in the build definition
18 lines
No EOL
640 B
PowerShell
18 lines
No EOL
640 B
PowerShell
#
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
#
|
|
|
|
param(
|
|
[string]$Configuration="Debug",
|
|
[string]$Architecture="x64",
|
|
[Parameter(ValueFromRemainingArguments=$true)][String[]]$ExtraParameters
|
|
)
|
|
|
|
$RepoRoot = "$PSScriptRoot"
|
|
|
|
$ArchitectureParam="/p:Architecture=$Architecture"
|
|
$ConfigurationParam="-configuration $Configuration"
|
|
|
|
Invoke-Expression "$RepoRoot\eng\common\build.ps1 -restore -build $ConfigurationParam $ArchitectureParam $ExtraParameters"
|
|
if($LASTEXITCODE -ne 0) { throw "Failed to build" } |