<!-- During NuGet restore, grab assets for all applicable RIDs. -->
<RuntimeIdentifiers Condition="'$(RestoreAllBuildRids)' == 'true'">@(RestoreBuildRID)</RuntimeIdentifiers>
<!-- When resolving assets to pack, use the target runtime (if any). -->
- <RuntimeIdentifier>$(PackageRID)</RuntimeIdentifier>
+ <RuntimeIdentifier>$(OutputRid)</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="Microsoft.NETCore.DotNetHost\Microsoft.NETCore.DotNetHost.pkgproj" />
<ProjectReference Include="Microsoft.NETCore.DotNetHostPolicy\Microsoft.NETCore.DotNetHostPolicy.pkgproj" />
<ProjectReference Include="Microsoft.NETCore.DotNetHostResolver\Microsoft.NETCore.DotNetHostResolver.pkgproj" />
- <ProjectReference Include="@(ProjectReference)" AdditionalProperties="PackageTargetRuntime=$(PackageRID)" />
+ <ProjectReference Include="@(ProjectReference)" AdditionalProperties="PackageTargetRuntime=$(OutputRid)" />
</ItemGroup>
<Import Sdk="Microsoft.Build.Traversal" Project="Sdk.targets" />
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <PackageRID Condition="'$(PackageRID)' == ''">$(OutputRid)</PackageRID>
- </PropertyGroup>
-
<ItemGroup>
<OfficialBuildRID Include="linux-x64" />
<OfficialBuildRID Include="linux-musl-x64" />