Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f6861d1

Browse files
committed
Use RuntimeOS instead of OSGroup for defaulting PackageRID
1 parent 8b1a14d commit f6861d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Condition="'$(PortableBuild)' == 'true'">
4-
<PackageRID>win-$(ArchGroup)</PackageRID>
5-
<PackageRID Condition="'$(OSGroup)' == 'OSX'">osx-$(ArchGroup)</PackageRID>
6-
<PackageRID Condition="'$(OSGroup)' == 'Linux'">linux-$(ArchGroup)</PackageRID>
4+
<PackageRID>linux-$(ArchGroup)</PackageRID>
5+
<PackageRID Condition="'$(_runtimeOSFamily)' == 'osx'">osx-$(ArchGroup)</PackageRID>
6+
<PackageRID Condition="'$(_runtimeOSFamily)' == 'win'">win-$(ArchGroup)</PackageRID>
77
</PropertyGroup>
88
<PropertyGroup Condition="'$(PortableBuild)' != 'true'">
99
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>

0 commit comments

Comments
 (0)