You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
5 years ago
|
<Project DefaultTargets="Build">
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||
|
|
||
|
<!-- Enable roll-forward to latest patch. This allows one restore operation
|
||
|
to apply to all of the self-contained publish operations. -->
|
||
|
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<Target Name="PublishAllRids">
|
||
|
<ItemGroup>
|
||
|
<Frameworks Include="$(TargetFrameworks)" />
|
||
|
|
||
5 years ago
|
<Combined Include="$(RuntimeIdentifiers)">
|
||
5 years ago
|
<Framework>%(Frameworks.Identity)</Framework>
|
||
5 years ago
|
</Combined>
|
||
|
|
||
|
<Renamed Include="@(Combined->'%(Identity):%(Framework)')">
|
||
|
<Runtime>%(Identity)</Runtime>
|
||
|
<Framework>%(Framework)</Framework>
|
||
|
</Renamed>
|
||
|
|
||
5 years ago
|
<!-- Transform RuntimeIdentifierForPublish items to project items to pass to MSBuild task -->
|
||
5 years ago
|
<ProjectToPublish Include="@(Renamed->'$(MSBuildProjectFullPath)')">
|
||
|
<AdditionalProperties>RuntimeIdentifier=%(Renamed.Runtime);TargetFramework=%(Renamed.Framework)</AdditionalProperties>
|
||
5 years ago
|
</ProjectToPublish>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<MSBuild Projects="@(ProjectToPublish)"
|
||
|
Targets="Publish"
|
||
|
BuildInParallel="true"
|
||
|
/>
|
||
|
</Target>
|
||
|
|
||
|
</Project>
|