From d39c2eb09adcad665cd21c9764e812e5336bbf96 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 18 Jul 2023 20:51:43 +0200 Subject: [PATCH] Fix broken runtime tests build (#89115) * Fix broken runtime tests build Follow-up on https://github.com/dotnet/runtime/pull/89005 * Update build-test-job.yml * Update sfx-ref.proj --- eng/native/ijw/getRefPackFolderFromArtifacts.ps1 | 2 +- eng/pipelines/common/templates/runtimes/build-test-job.yml | 2 +- src/libraries/sfx-ref.proj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/native/ijw/getRefPackFolderFromArtifacts.ps1 b/eng/native/ijw/getRefPackFolderFromArtifacts.ps1 index f9b53286c2b91..3052e4332ffbb 100644 --- a/eng/native/ijw/getRefPackFolderFromArtifacts.ps1 +++ b/eng/native/ijw/getRefPackFolderFromArtifacts.ps1 @@ -14,7 +14,7 @@ $refPackPath = "$repoRoot/artifacts/bin/ref/net$majorVersion.$minorVersion" if (-not (Test-Path $refPackPath)) { - Write-Error "Reference assemblies not found in the artifacts folder at '$refPackPath'. Did you invoke 'build.cmd libs.sfx+libs.oob /p:RefOnly=true' to make sure that refs are built? Did the repo layout change?" + Write-Error "Reference assemblies not found in the artifacts folder at '$refPackPath'. Did you invoke 'build.cmd libs.sfx+libs.oob' to make sure that refs are built? Did the repo layout change?" exit 1 } diff --git a/eng/pipelines/common/templates/runtimes/build-test-job.yml b/eng/pipelines/common/templates/runtimes/build-test-job.yml index 567c1e5f99714..d36ce103f092c 100644 --- a/eng/pipelines/common/templates/runtimes/build-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/build-test-job.yml @@ -69,7 +69,7 @@ jobs: - ${{ each variable in parameters.variables }}: - ${{ variable }} - name: liveRuntimeBuildParams - value: 'libs.sfx+libs.oob+clr.iltools /p:RefOnly=true -c Release -ci' + value: 'libs.sfx+libs.oob+clr.iltools -c Release -ci' - name: compilerArg value: '' diff --git a/src/libraries/sfx-ref.proj b/src/libraries/sfx-ref.proj index 984b1fe2dea03..57bec669a2f3d 100644 --- a/src/libraries/sfx-ref.proj +++ b/src/libraries/sfx-ref.proj @@ -1,7 +1,7 @@ - $(NetCoreAppCurrent) + $(NetCoreAppCurrent)-$(TargetOS) true