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:
parent
ab97a076f2
commit
331b58c8a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue