Blame SOURCES/installer-12516-portablerid.patch

2547b6
From 892222071f73062f969f4f6ed1df8f759b9327b7 Mon Sep 17 00:00:00 2001
2547b6
From: Tom Deseyn <tom.deseyn@gmail.com>
2547b6
Date: Wed, 3 Nov 2021 15:12:59 +0100
2547b6
Subject: [PATCH] GetRuntimeInformation.targets: determine
2547b6
 PortableProductMonikerRid based on HostOSName and Architecture.
2547b6
2547b6
---
2547b6
 src/redist/targets/GetRuntimeInformation.targets | 2 ++
2547b6
 1 file changed, 2 insertions(+)
2547b6
2547b6
diff --git a/src/redist/targets/GetRuntimeInformation.targets b/src/redist/targets/GetRuntimeInformation.targets
2547b6
index 5133c3a3841..01f704c7d8e 100644
2547b6
--- a/src/redist/targets/GetRuntimeInformation.targets
2547b6
+++ b/src/redist/targets/GetRuntimeInformation.targets
2547b6
@@ -28,6 +28,8 @@
2547b6
                                    '$(Rid)' == 'linux-musl-x64' ">$(Rid)</ProductMonikerRid>
2547b6
       <ProductMonikerRid Condition=" '$(ProductMonikerRid)' == '' ">$(OSName)-$(Architecture)</ProductMonikerRid>
2547b6
 
2547b6
+      <PortableProductMonikerRid Condition=" '$(PortableProductMonikerRid)' == '' ">$(HostOSName)-$(Architecture)</PortableProductMonikerRid>
2547b6
+
2547b6
       <ArtifactNameSdk>dotnet-sdk-internal$(PgoTerm)</ArtifactNameSdk>
2547b6
       <ArtifactNameCombinedHostHostFxrFrameworkSdk>dotnet-sdk$(PgoTerm)</ArtifactNameCombinedHostHostFxrFrameworkSdk>
2547b6