Should use a trailing space instead of a leading space; MSBuild thinks the '$ExtraParametersNoTargets' variable a switch instead of a string.

This commit is contained in:
jbeisner 2018-01-17 22:33:22 +00:00
parent ab97a076f2
commit 331b58c8a2

View file

@ -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
}
}