@@ -173,6 +173,8 @@ extends:
173
173
$(_BuildArgs)
174
174
$(_InternalRuntimeDownloadArgs)
175
175
$(Windows64LogArgs)
176
+ env :
177
+ MSBUILDUSESERVER : " 1"
176
178
displayName : Build x64
177
179
178
180
# Build the x86 shared framework
@@ -190,6 +192,8 @@ extends:
190
192
$(_BuildArgs)
191
193
$(_InternalRuntimeDownloadArgs)
192
194
$(Windows86LogArgs)
195
+ env :
196
+ MSBUILDUSESERVER : " 1"
193
197
displayName : Build x86
194
198
195
199
# Build the arm64 shared framework
@@ -207,6 +211,8 @@ extends:
207
211
$(_BuildArgs)
208
212
$(_InternalRuntimeDownloadArgs)
209
213
$(WindowsArm64LogArgs)
214
+ env :
215
+ MSBUILDUSESERVER : " 1"
210
216
displayName : Build ARM64
211
217
212
218
- script : .\src\SiteExtensions\build.cmd
@@ -218,6 +224,8 @@ extends:
218
224
-noBuildNative
219
225
$(_BuildArgs)
220
226
$(_InternalRuntimeDownloadArgs)
227
+ env :
228
+ MSBUILDUSESERVER : " 1"
221
229
displayName : Build SiteExtension
222
230
223
231
# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If
@@ -233,6 +241,8 @@ extends:
233
241
/p:DotNetSignType=$(_SignType)
234
242
$(_BuildArgs)
235
243
$(WindowsSignLogArgs)
244
+ env :
245
+ MSBUILDUSESERVER : " 1"
236
246
displayName : Code sign packages
237
247
238
248
# Windows installers bundle x86/x64/arm64 assets
@@ -247,6 +257,8 @@ extends:
247
257
$(_BuildArgs)
248
258
$(_InternalRuntimeDownloadArgs)
249
259
$(WindowsInstallersLogArgs)
260
+ env :
261
+ MSBUILDUSESERVER : " 1"
250
262
displayName : Build Installers
251
263
252
264
# Windows installers bundle and sharedfx msi for arm64
@@ -265,6 +277,8 @@ extends:
265
277
$(_PublishArgs)
266
278
$(_InternalRuntimeDownloadArgs)
267
279
$(WindowsArm64InstallersLogArgs)
280
+ env :
281
+ MSBUILDUSESERVER : " 1"
268
282
displayName : Build ARM64 Installers
269
283
270
284
artifacts :
@@ -616,6 +630,8 @@ extends:
616
630
# Build the shared framework
617
631
- script : ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
618
632
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
633
+ env :
634
+ MSBUILDUSESERVER : " 1"
619
635
displayName : Build shared fx
620
636
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
621
637
- script : ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
0 commit comments