Auto clean publish directory
This commit is contained in:
parent
df062fb86e
commit
81ac6fde22
1 changed files with 4 additions and 0 deletions
|
@ -12,4 +12,8 @@
|
||||||
<PackageReference Include="YamlDotNet" Version="16.3.0" />
|
<PackageReference Include="YamlDotNet" Version="16.3.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="_RemovePublishDirBeforePublishing" BeforeTargets="BeforePublish">
|
||||||
|
<RemoveDir Directories="$(PublishDir)" Condition="'$(PublishDir)' != ''" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Reference in a new issue