Blame SOURCES/installer-12516-portablerid.patch

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