Blame SOURCES/sdk-22373-portablerid.patch

2547b6
From 499fcf6e3b0e4b01a9c340a06f00cfc3e1fcc5d2 Mon Sep 17 00:00:00 2001
2547b6
From: Tom Deseyn <tom.deseyn@gmail.com>
2547b6
Date: Tue, 5 Oct 2021 09:04:14 +0200
2547b6
Subject: [PATCH] Use the portable rid for --use-current-runtime.
2547b6
2547b6
---
2547b6
 .../targets/Microsoft.NET.RuntimeIdentifierInference.targets    | 2 +-
2547b6
 1 file changed, 1 insertion(+), 1 deletion(-)
2547b6
2547b6
diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
2547b6
index 17308aa9160..e764b2d9845 100644
2547b6
--- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
2547b6
+++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
2547b6
@@ -62,7 +62,7 @@ Copyright (c) .NET Foundation. All rights reserved.
2547b6
   </PropertyGroup>
2547b6
 
2547b6
   <PropertyGroup Condition="'$(UseCurrentRuntimeIdentifier)' == 'true'">
2547b6
-    <RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
2547b6
+    <RuntimeIdentifier>$(NETCoreSdkPortableRuntimeIdentifier)</RuntimeIdentifier>
2547b6
   </PropertyGroup>
2547b6
 
2547b6
   <PropertyGroup Condition="'$(PlatformTarget)' == ''">