Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion eng/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ if ($BuildManaged -or ($All -and (-not $NoBuildManaged))) {
}
}

$CommandLineArguments = $MSBuildArguments

if ($NoBuildDeps) { $MSBuildArguments += "/p:BuildProjectReferences=false" }

$RunBuild = if ($NoBuild) { $false } else { $true }
Expand Down Expand Up @@ -478,7 +480,8 @@ try {
/p:Restore=$RunRestore `
/p:Build=true `
/clp:NoSummary `
@ToolsetBuildArguments
@ToolsetBuildArguments `
@CommandLineArguments
}

if (-not $OnlyBuildRepoTasks) {
Expand Down
10 changes: 10 additions & 0 deletions eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ while [[ $# -gt 0 ]]; do
shift
done

commandline_args=()

if [ ${#msbuild_args[@]} -gt 0 ]; then
commandline_args=("${msbuild_args[@]}")
fi

if [ "$build_all" = true ]; then
msbuild_args[${#msbuild_args[*]}]="-p:BuildAllProjects=true"
fi
Expand Down Expand Up @@ -388,6 +394,10 @@ InitializeToolset

restore=$_tmp_restore=

if [ ${#commandline_args[@]} -gt 0 ]; then
toolset_build_args+=("${commandline_args[@]}")
fi

if [ "$build_repo_tasks" = true ]; then
MSBuild $_InitializeToolset \
-p:RepoRoot="$repo_root" \
Expand Down
Loading