Blame SOURCES/sdk-22373-portablerid.patch

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