@@ -142,6 +142,8 @@ stages:
142142 /p:PublishToSymbolServer=true
143143 /p:VisualStudioDropName=$(VisualStudioDropName)
144144 /p:GenerateSbom=true
145+ env :
146+ NativeToolsOnMachine : true
145147 - script : .\tests\EndToEndBuildTests\EndToEndBuildTests.cmd -c $(_BuildConfig)
146148 displayName : End to end build tests
147149 - task : PublishTestResults@2
@@ -365,9 +367,13 @@ stages:
365367
366368 # yes, this is miserable, but - https://github.com/dotnet/arcade/issues/13239
367369 - script : eng\CIBuild.cmd -compressallmetadata -configuration $(_configuration) -$(_testKind)
370+ env :
371+ NativeToolsOnMachine : true
368372 displayName : Build / Test
369373 condition : ne(variables['_testKind'], 'testIntegration')
370374 - script : eng\CIBuild.cmd -compressallmetadata -configuration $(_configuration) -$(_testKind)
375+ env :
376+ NativeToolsOnMachine : true
371377 displayName : Build / Integration Test
372378 continueOnError : true
373379 condition : eq(variables['_testKind'], 'testIntegration')
@@ -519,6 +525,7 @@ stages:
519525 clean : true
520526 - script : .\Build.cmd -c Release -pack
521527 env :
528+ NativeToolsOnMachine : true
522529 FSHARP_EXPERIMENTAL_FEATURES : $(_experimental_flag)
523530 - script : .\tests\EndToEndBuildTests\EndToEndBuildTests.cmd -c Release
524531 env :
@@ -649,6 +656,8 @@ stages:
649656 - script : dotnet --list-sdks
650657 displayName : Report dotnet SDK versions
651658 - script : .\Build.cmd $(_kind) -pack -c $(_BuildConfig)
659+ env :
660+ NativeToolsOnMachine : true
652661 displayName : Initial build and prepare packages.
653662 - script : $(Build.SourcesDirectory)/tests/AheadOfTime/Trimming/check.cmd
654663 displayName : Build, trim, publish and check the state of the trimmed app.
0 commit comments