Skip to content

Commit 16de9a2

Browse files
authored
Use OutputRid in test projects (#58166)
1 parent 967fb7d commit 16de9a2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/tests/Common/ilasm/ilasm.ilproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
needed by the IL SDK. -->
55

66
<PropertyGroup>
7-
<RuntimeIdentifier>$(PackageRID)</RuntimeIdentifier>
7+
<RuntimeIdentifier>$(OutputRid)</RuntimeIdentifier>
88
</PropertyGroup>
99
</Project>

src/tests/Common/publishdependency.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<Target Name="CopyDependencyToCoreRoot">
2929
<MSBuild Projects="@(CoreRootProjectFiles)"
3030
Targets="CopyDependencyToCoreRoot"
31-
Properties="Language=C#;RuntimeIdentifier=$(PackageRID)" />
31+
Properties="Language=C#;RuntimeIdentifier=$(OutputRid)" />
3232

3333
</Target>
3434
</Project>

src/tests/Common/test_dependencies/test_dependencies.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
66
<DisableRarCache>true</DisableRarCache>
77
<DisablePackageAssetsCache>true</DisablePackageAssetsCache>
8-
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(PackageRID)</RuntimeIdentifiers>
8+
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(OutputRid)</RuntimeIdentifiers>
99
<IncludeOOBLibraries>true</IncludeOOBLibraries>
1010
</PropertyGroup>
1111
<ItemGroup>

src/tests/Common/test_dependencies_fs/test_dependencies.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
66
<DisableRarCache>true</DisableRarCache>
77
<DisablePackageAssetsCache>true</DisablePackageAssetsCache>
8-
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(PackageRID)</RuntimeIdentifiers>
8+
<RuntimeIdentifiers>win-arm;win-arm64;win-x64;win-x86;$(OutputRid)</RuntimeIdentifiers>
99
<IncludeOOBLibraries>true</IncludeOOBLibraries>
1010
</PropertyGroup>
1111

src/tests/run.proj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
589589
<MonoLlvmPath>$(MonoBinDir)</MonoLlvmPath>
590590
</PropertyGroup>
591591
<PropertyGroup Condition="'$(CROSSCOMPILE)' != ''">
592-
<AotCompiler>$(MonoBinDir)/cross/$(PackageRID)/mono-aot-cross</AotCompiler>
593-
<MonoLlvmPath>$(MonoBinDir)/cross/$(PackageRID)</MonoLlvmPath>
592+
<AotCompiler>$(MonoBinDir)/cross/$(OutputRid)/mono-aot-cross</AotCompiler>
593+
<MonoLlvmPath>$(MonoBinDir)/cross/$(OutputRid)</MonoLlvmPath>
594594
</PropertyGroup>
595595

596596
<ItemGroup>
@@ -826,7 +826,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
826826
<Target Name="CreateTestOverlay">
827827
<MSBuild Projects="$(MSBuildProjectFile)"
828828
Targets="CopyDependencyToCoreRoot"
829-
Properties="Language=C#;PackageRID=$(PackageRID);RuntimeIdentifier=$(PackageRID)" />
829+
Properties="Language=C#;OutputRid=$(OutputRid);RuntimeIdentifier=$(OutputRid)" />
830830
</Target>
831831

832832
<Target Name="Build">

0 commit comments

Comments
 (0)