Blame SOURCES/sdk-22373-portablerid.patch

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