Skip to content

Commit 458b5f7

Browse files
authored
Merge pull request #21748 from tmds/currentrid
Use the portable rid for --use-current-runtime.
2 parents 825b0c6 + 6eae563 commit 458b5f7

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)