Skip to content

Commit

Permalink
Update delete message with condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Feb 3, 2025
1 parent 381e77e commit 7c3ba88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.0.1-alpha</Version>
<Version>1.0.1-alpha.1</Version>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion ricaun.ILRepack/ricaun.ILRepack.targets
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
</Target>

<Target Name="ILRepackDeleteTarget" AfterTargets="ILRepackTarget" Condition="$(ILRepackEnabled) and $(ILRepackDeleteEnabled)">
<Message Text="ILRepack Delete: [@(ILRepackIncludedEmbeddedAssemblies -> '%(Filename)%(Extension)', ', ')]" Importance="$(ILRepackImportance)" />
<Message Text="ILRepack Delete: [@(ILRepackIncludedEmbeddedAssemblies -> '%(Filename)%(Extension)', ', ')]" Importance="$(ILRepackImportance)" Condition="'@(ILRepackIncludedEmbeddedAssemblies->Count())' != '0'" />

<Delete Files="@(ILRepackIncludedEmbeddedAssemblies)" />
<ItemGroup>
Expand Down

0 comments on commit 7c3ba88

Please sign in to comment.