File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,8 @@ if ($BuildManaged -or ($All -and (-not $NoBuildManaged))) {
250250 }
251251}
252252
253+ $CommandLineArguments = $MSBuildArguments
254+
253255if ($NoBuildDeps ) { $MSBuildArguments += " /p:BuildProjectReferences=false" }
254256
255257$RunBuild = if ($NoBuild ) { $false } else { $true }
@@ -478,7 +480,8 @@ try {
478480 / p:Restore= $RunRestore `
479481 / p:Build= true `
480482 / clp:NoSummary `
481- @ToolsetBuildArguments
483+ @ToolsetBuildArguments `
484+ @CommandLineArguments
482485 }
483486
484487 if (-not $OnlyBuildRepoTasks ) {
Original file line number Diff line number Diff line change @@ -249,6 +249,8 @@ while [[ $# -gt 0 ]]; do
249249 shift
250250done
251251
252+ commandline_args=$msbuild_args
253+
252254if [ " $build_all " = true ]; then
253255 msbuild_args[${# msbuild_args[*]} ]=" -p:BuildAllProjects=true"
254256fi
@@ -396,7 +398,8 @@ if [ "$build_repo_tasks" = true ]; then
396398 -p:Restore=$run_restore \
397399 -p:Build=true \
398400 -clp:NoSummary \
399- ${toolset_build_args[@]+" ${toolset_build_args[@]} " }
401+ ${toolset_build_args[@]+" ${toolset_build_args[@]} " } \
402+ ${commandline_args[@]+" ${commandline_args[@]} " }
400403fi
401404
402405if [ " $only_build_repo_tasks " != true ]; then
You can’t perform that action at this time.
0 commit comments