Blame SOURCES/sdk-22373-portablerid.patch

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