From 70205ded0cf7e5b1a45e8fe51dc2afc8050e44c0 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Tue, 3 Jan 2023 17:34:39 -0500 Subject: [PATCH] When overriding RID for non-Linux, use $(Platform) not x64 (#15153) --- src/SourceBuild/content/repo-projects/aspnetcore.proj | 6 +++--- src/SourceBuild/content/repo-projects/installer.proj | 6 +++--- src/SourceBuild/content/repo-projects/runtime.proj | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/SourceBuild/content/repo-projects/aspnetcore.proj b/src/SourceBuild/content/repo-projects/aspnetcore.proj index f20c61b71..afdd47c63 100644 --- a/src/SourceBuild/content/repo-projects/aspnetcore.proj +++ b/src/SourceBuild/content/repo-projects/aspnetcore.proj @@ -3,9 +3,9 @@ $(TargetRid) - osx-x64 - freebsd-x64 - win-x64 + osx-$(Platform) + freebsd-$(Platform) + win-$(Platform) $(StandardSourceBuildArgs.Replace('--publish', '')) diff --git a/src/SourceBuild/content/repo-projects/installer.proj b/src/SourceBuild/content/repo-projects/installer.proj index 6dc870be9..42ef91233 100644 --- a/src/SourceBuild/content/repo-projects/installer.proj +++ b/src/SourceBuild/content/repo-projects/installer.proj @@ -7,9 +7,9 @@ $(TargetRid) - osx-x64 - freebsd-x64 - win-x64 + osx-$(Platform) + freebsd-$(Platform) + win-$(Platform) $(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-")))) diff --git a/src/SourceBuild/content/repo-projects/runtime.proj b/src/SourceBuild/content/repo-projects/runtime.proj index 231c9b464..c477000a6 100644 --- a/src/SourceBuild/content/repo-projects/runtime.proj +++ b/src/SourceBuild/content/repo-projects/runtime.proj @@ -8,9 +8,9 @@ $(ProjectDirectory)/clean$(ShellExtension) $(TargetRid) - osx-x64 - freebsd-x64 - win-x64 + osx-$(Platform) + freebsd-$(Platform) + win-$(Platform) <_platformIndex>$(NETCoreSdkRuntimeIdentifier.LastIndexOf('-')) $(NETCoreSdkRuntimeIdentifier.Substring(0, $(_platformIndex)))