From 5ee269eef8bd02d066151deaa4d8c0fe6b6cbce4 Mon Sep 17 00:00:00 2001 Patch-Source: https://github.com/dotnet/installer/pull/14816 From: Antoine Martin Date: Tue, 15 Nov 2022 01:04:46 -0500 Subject: [PATCH 2/3] BundledVersions: update portable rid logic (backport dotnet#14647) --- .../tarball/content/repos/installer.proj | 5 +++++ src/redist/targets/GetRuntimeInformation.targets | 16 ++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/installer/src/redist/targets/GetRuntimeInformation.targets b/src/installer/src/redist/targets/GetRuntimeInformation.targets index a99a7e9da..89f000119 100644 --- a/src/installer/src/redist/targets/GetRuntimeInformation.targets +++ b/src/installer/src/redist/targets/GetRuntimeInformation.targets @@ -9,10 +9,15 @@ osx freebsd linux - + + $(Rid.Substring(0, $(Rid.LastIndexOf('-')))) $(HostOSName) - $(OSName)-$(Architecture) + $(OSName) + + $(OSName)-$(Architecture) + + $(PortableOSName)-$(Architecture) @@ -23,10 +28,9 @@ - $(Rid) - $(OSName)-$(Architecture) + $(Rid) + + $(PortableRid) $(HostOSName)-$(Architecture) -- 2.38.2