Blame SOURCES/sdk-22373-portablerid.patch

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