I am looking for my assembly to delete the contents of a directory without touching a specific folder. Below I try, and it even looks wrong to me ... except that it is bombing when I launch it. Should I explicitly delete the contents of the directory and at the same time exclude the My Reports folder?
<delete includeemptydirs="true"> <fileset dir="${PublishLocation}" > <exclude name="**Reports**"/> </fileset> </delete>
Greetings.
source share