diff options
Diffstat (limited to 'eng/common/build.ps1')
-rw-r--r-- | eng/common/build.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eng/common/build.ps1 b/eng/common/build.ps1 index feb58d14191..e001ccb481c 100644 --- a/eng/common/build.ps1 +++ b/eng/common/build.ps1 @@ -85,6 +85,10 @@ function Build { # Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons. # Explicitly set the type as string[] because otherwise PowerShell would make this char[] if $properties is empty. [string[]] $msbuildArgs = $properties + + # Resolve relative project paths into full paths + $projects = ($projects.Split(';').ForEach({Resolve-Path $_}) -join ';') + $msbuildArgs += "/p:Projects=$projects" $properties = $msbuildArgs } |