Skip to content

Commit

Permalink
chore: Run Cleanup afeter UnoAssetsGeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrojesus-work committed Mar 21, 2024
1 parent ae27623 commit dc62695
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/.nuspec/Uno.Resizetizer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -310,18 +310,14 @@


<Target Name="CleanUpContent"
BeforeTargets="UnoResourcesGeneration"
Condition="$(_UnoResizetizerPlatformIsAndroid) == 'true'">
AfterTargets="UnoAssetsGeneration">

<ItemGroup>
<_MyFileBefore Include="@(Content)" />
<Content Remove="@(UnoImage)" />
<_MyFile Include="@(Content)" />

<_Temp Include="@(AndroidAssets)"></_Temp>
<_MyAssetsBefore Include="@(AndroidAsset)" />
</ItemGroup>

<ItemGroup Condition="$(_UnoResizetizerPlatformIsAndroid) == 'true'">
<AndroidAsset Remove="@(UnoImage)"/>
<_MyAssetsAfter Include="@(AndroidAsset)" />
</ItemGroup>
</Target>

Expand Down

0 comments on commit dc62695

Please sign in to comment.