Skip to content

Commit 92ee7d7

Browse files
committed
Use the portable rid for --use-current-runtime (backports #21748)
1 parent af6661d commit 92ee7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Copyright (c) .NET Foundation. All rights reserved.
6262
</PropertyGroup>
6363

6464
<PropertyGroup Condition="'$(UseCurrentRuntimeIdentifier)' == 'true'">
65-
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
65+
<RuntimeIdentifier>$(NETCoreSdkPortableRuntimeIdentifier)</RuntimeIdentifier>
6666
</PropertyGroup>
6767

6868
<PropertyGroup Condition="'$(PlatformTarget)' == ''">

0 commit comments

Comments
 (0)