From 331b58c8a20d645464d053fb75d6d0edc12d9449 Mon Sep 17 00:00:00 2001 From: jbeisner Date: Wed, 17 Jan 2018 22:33:22 +0000 Subject: [PATCH] Should use a trailing space instead of a leading space; MSBuild thinks the '$ExtraParametersNoTargets' variable a switch instead of a string. --- run-build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-build.ps1 b/run-build.ps1 index 385ea1c8d..254da25d2 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -34,7 +34,7 @@ foreach ($param in $ExtraParameters.split()) { if((-not $param.StartsWith("/t")) -and (-not $param.StartsWith("/T"))) { - $ExtraParametersNoTargets += " {0}" -f $param + $ExtraParametersNoTargets += "{0} " -f $param } }