diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 90d48cd801..4ecb2a48a0 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -25,6 +25,10 @@ Param( [Alias("ff")] [System.Boolean] $FailFast = $true, + [Parameter(Mandatory=$false)] + [Alias("xlf")] + [Switch] $SyncXlf = $false, + [Parameter(Mandatory=$false)] [Alias("loc")] [Switch] $LocalizedBuild = $false, @@ -155,7 +159,7 @@ function Invoke-Build Write-Log ".. .. Build: Source: $TPB_Solution" Write-Verbose "$dotnetExe build $TPB_Solution --configuration $TPB_Configuration --version-suffix $TPB_VersionSuffix -v:minimal -p:Version=$TPB_Version" - & $dotnetExe build $TPB_Solution --configuration $TPB_Configuration --version-suffix $TPB_VersionSuffix -v:minimal -p:Version=$TPB_Version -p:CIBuild=$TPB_CIBuild -p:LocalizedBuild=$LocalizedBuild + & $dotnetExe build $TPB_Solution --configuration $TPB_Configuration --version-suffix $TPB_VersionSuffix -v:minimal -p:Version=$TPB_Version -p:CIBuild=$TPB_CIBuild -p:LocalizedBuild=$LocalizedBuild -p:SyncXlf=$SyncXlf Write-Log ".. .. Build: Complete." if ($lastExitCode -ne 0) { diff --git a/scripts/build/TestPlatform.targets b/scripts/build/TestPlatform.targets index ccdde29ad1..371e8c9f6b 100644 --- a/scripts/build/TestPlatform.targets +++ b/scripts/build/TestPlatform.targets @@ -14,7 +14,7 @@ - +