Skip to content

Commit

Permalink
More examples
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Apr 11, 2024
1 parent a378325 commit 69329b5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/sdk-container-demo/sdk-container-demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<RootNamespace>sdk_container_demo</RootNamespace>
<SelfContained>false</SelfContained>
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>

<PropertyGroup Label="Packaging properties">
Expand All @@ -29,6 +30,20 @@
AdditionalProperties="ContainerRegistry=%(DestinationRegistry)" />
</ItemGroup>

<Target
Name="MultiRidBuild">
<ItemGroup>
<_rids Include="$(RuntimeIdentifiers)" />
<_InnerBuild Include="$(MSBuildProjectFullPath)"
AdditionalProperties="RuntimeIdentifier=%(_rids.Identity)"
PropertiesToUnset="RuntimeIdentifiers" />
</ItemGroup>
<MSBuild
Projects="@(_InnerBuild)"
Targets="Build"
BuildInParallel="true" />
</Target>

<Target
Name="MultiPush"
DependsOnTargets="Publish">
Expand Down

0 comments on commit 69329b5

Please sign in to comment.