Blame SOURCES/sdk-22373-portablerid.patch

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