Skip to content

Commit d39c2eb

Browse files
authored
Fix broken runtime tests build (#89115)
* Fix broken runtime tests build Follow-up on #89005 * Update build-test-job.yml * Update sfx-ref.proj
1 parent a2af460 commit d39c2eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

eng/native/ijw/getRefPackFolderFromArtifacts.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $refPackPath = "$repoRoot/artifacts/bin/ref/net$majorVersion.$minorVersion"
1414

1515
if (-not (Test-Path $refPackPath))
1616
{
17-
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?"
17+
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?"
1818
exit 1
1919
}
2020

eng/pipelines/common/templates/runtimes/build-test-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- ${{ each variable in parameters.variables }}:
7070
- ${{ variable }}
7171
- name: liveRuntimeBuildParams
72-
value: 'libs.sfx+libs.oob+clr.iltools /p:RefOnly=true -c Release -ci'
72+
value: 'libs.sfx+libs.oob+clr.iltools -c Release -ci'
7373
- name: compilerArg
7474
value: ''
7575

src/libraries/sfx-ref.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.Build.Traversal">
22

33
<PropertyGroup>
4-
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
4+
<TargetFramework>$(NetCoreAppCurrent)-$(TargetOS)</TargetFramework>
55
<!-- Filter ProjectReferences to build the best matching target framework only. -->
66
<FilterTraversalProjectReferences>true</FilterTraversalProjectReferences>
77
</PropertyGroup>

0 commit comments

Comments
 (0)