Blame SOURCES/installer-12516-portablerid.patch

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