We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da0961d commit ff1d3f3Copy full SHA for ff1d3f3
eng/build.sh
@@ -60,6 +60,7 @@ force_bootstrap=false
60
ci=false
61
skip_analyzers=false
62
prepare_machine=false
63
+source_build=false
64
properties=""
65
66
docker=false
@@ -131,6 +132,9 @@ while [[ $# > 0 ]]; do
131
132
;;
133
/p:*)
134
properties="$properties $1"
135
+ if [[ "$1" == "/p:dotnetbuildfromsource=true" ]]; then
136
+ source_build=true
137
+ fi
138
139
*)
140
echo "Invalid argument: $1"
@@ -277,7 +281,9 @@ function BuildSolution {
277
281
InitializeDotNetCli $restore
278
282
279
283
# enable us to build netcoreapp2.1 binaries
280
-InstallDotNetSdk $_InitializeDotNetCli 2.1.503
284
+if [[ "$source_build" != true ]]; then
285
+ InstallDotNetSdk $_InitializeDotNetCli 2.1.503
286
+fi
287
288
BuildSolution
289
0 commit comments