|
5 | 5 | <PropertyGroup>
|
6 | 6 | <!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
|
7 | 7 | <PackagePlatform>AnyCPU</PackagePlatform>
|
8 |
| - |
| 8 | + |
9 | 9 | <!-- build the transport package which includes product and symbols in addition to standard packages -->
|
10 | 10 | <CreatePackedPackage Condition="'$(CreatePackedPackage)' == ''">true</CreatePackedPackage>
|
11 | 11 |
|
|
26 | 26 | <SupportedPackageOSGroups Condition="'$(SupportedPackageOSGroups)' == ''">Windows_NT;OSX;Android;Linux</SupportedPackageOSGroups>
|
27 | 27 | <SupportedPackageOSGroups>;$(SupportedPackageOSGroups);</SupportedPackageOSGroups>
|
28 | 28 |
|
29 |
| - <!-- Identify OS family based upon the RuntimeOS, which could be distro specific (e.g. osx.10.12) or |
30 |
| - portable (e.g. osx). |
| 29 | + <!-- Identify OS family based upon the RuntimeOS, which could be distro specific (e.g. osx.10.12) or |
| 30 | + portable (e.g. osx). |
31 | 31 | -->
|
32 | 32 | <_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789"))</_runtimeOSVersionIndex>
|
33 | 33 | <_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))</_runtimeOSFamily>
|
|
46 | 46 | <_isSupportedOSGroup Condition="!$(SupportedPackageOSGroups.Contains(';$(_derivedPackageTargetOSGroup);'))">false</_isSupportedOSGroup>
|
47 | 47 | </PropertyGroup>
|
48 | 48 |
|
49 |
| - <!-- _packageTargetOSGroup is used to control the runtime package imports, don't import runtime package targets for |
| 49 | + <!-- _packageTargetOSGroup is used to control the runtime package imports, don't import runtime package targets for |
50 | 50 | an unsupported OS Group -->
|
51 | 51 | <PropertyGroup Condition="'$(PackageTargetRuntime)' != '' and '$(_isSupportedOSGroup)' == 'true'">
|
52 | 52 | <!-- Android will use Linux package definitions -->
|
|
65 | 65 |
|
66 | 66 | <Choose>
|
67 | 67 | <When Condition="'$(PackageRID)' != ''" />
|
| 68 | + <When Condition="'$(OutputRID)' != ''"> |
| 69 | + <PropertyGroup> |
| 70 | + <!-- If OutputRID is explicitly set use that as the PackageRID --> |
| 71 | + <PackageRID>$(OutputRID)</PackageRID> |
| 72 | + </PropertyGroup> |
| 73 | + </When> |
68 | 74 | <When Condition="'$(_runtimeOSFamily)' == 'win'">
|
69 | 75 | <PropertyGroup>
|
70 | 76 | <!-- Note: Windows builds are always portable (-PortableBuild=false is ignored) -->
|
|
127 | 133 |
|
128 | 134 | <ItemGroup Condition="$(SupportedPackageOSGroups.Contains(';Linux;'))">
|
129 | 135 | <OfficialBuildRID Include="linux-x64" />
|
| 136 | + <OfficialBuildRID Include="linux-musl-x64" /> |
130 | 137 | <OfficialBuildRID Include="rhel.6-x64" />
|
131 | 138 | <OfficialBuildRID Include="alpine.3.6-x64" />
|
132 | 139 | <OfficialBuildRID Include="linux-arm">
|
|
155 | 162 | </OfficialBuildRID>
|
156 | 163 | </ItemGroup>
|
157 | 164 | <ItemGroup>
|
158 |
| - <!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set, but |
| 165 | + <!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set, but |
159 | 166 | don't build the RID-specific package if we're in an unsupported os family -->
|
160 | 167 | <BuildRID Include="@(OfficialBuildRID)" Exclude="$(PackageRID)"/>
|
161 | 168 | <BuildRID Include="$(PackageRID)"
|
|
0 commit comments