Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Feb 12, 2024
1 parent 5d3789f commit 1fc0c87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ It is shared between "legacy" binding projects and .NET 5 projects.
<!-- Write a flag so we won't redo this target if nothing changed -->
<Touch Files="$(_GeneratorStampFile)" AlwaysCreate="true" />

<ItemGroup>
<ItemGroup Condition=" '@(_GeneratedBindingFiles->Count())' != '0' ">
<_ExistingGeneratedFiles Include="$(GeneratedOutputPath)**\*.cs" />
<_ExistingGeneratedFiles Remove="@(_GeneratedBindingFiles)" />
</ItemGroup>

<!-- Delete any files which should not be there. -->
<Delete Files="@(_ExistingGeneratedFiles)" />
<Delete Files="@(_ExistingGeneratedFiles)" Condition=" '@(_ExistingGeneratedFiles->Count())' != '0' "/>

<ItemGroup>
<FileWrites Include="$(GeneratedOutputPath)**\*.cs" />
Expand Down

0 comments on commit 1fc0c87

Please sign in to comment.