Blame SOURCES/installer-12516-portablerid.patch

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