Skip to content

Instantly share code, notes, and snippets.

@rido-min
Created April 30, 2025 16:33
Show Gist options
  • Select an option

  • Save rido-min/65fadd5bcbc5743f1f1febcd040ca57a to your computer and use it in GitHub Desktop.

Select an option

Save rido-min/65fadd5bcbc5743f1f1febcd040ca57a to your computer and use it in GitHub Desktop.
clean.proj
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="CleanAll">
<Target Name="CleanAll">
<CreateItem Include=".\**\debug\**\*;.\**\release\**\*;.\**\obj\**\*;.\TestResults\**\*;.\**\*.*scc;.\**\*.user">
<Output ItemName="DbgFiles" TaskParameter="Include"/>
</CreateItem>
<Message Text="Deleting Debug Files" Importance="high" />
<Delete Files="%(DbgFiles.Identity)" ContinueOnError="true" TreatErrorsAsWarnings="true">
<Output ItemName="DeletedFiles1" TaskParameter="DeletedFiles"/>
</Delete>
<Message Text="%(DeletedFiles1.Identity)" />
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment