Disable crossgen and zip file creation in the local dev build unless -pack is used

This commit is contained in:
Marc Paine 2023-10-06 14:56:32 -07:00
parent 62b7bdec2a
commit d5ed66a106
3 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,7 @@
</PropertyGroup>
<Target Name="PopulateGenerateChecksumItems"
Condition="'$(Pack)' == 'true'"
AfterTargets="Build"
BeforeTargets="GenerateChecksums" >

View file

@ -1,7 +1,7 @@
<Project>
<!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR. -->
<Target Name="CrossgenLayout"
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le'"
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le' AND '$(Pack)' == 'true'"
DependsOnTargets="SetSdkBrandingInfo">
<PropertyGroup>

View file

@ -1,5 +1,6 @@
<Project>
<Target Name="GenerateArchives"
Condition="'$(Pack)' == 'true'"
DependsOnTargets="GenerateLayout;GetCurrentRuntimeInformation"
BeforeTargets="AfterBuild">