title: Remove empty directories using msbuild
body: <p>How can I process a path recursively so that once the processing completes there are no empty directories under the path.</p>
  
  <p>For example, say we have <code>C:\Dir1\Dir2\Dir3</code> and there are no files in any of these directories. The outcome should be the removal of all three directories.</p>
  
  <p>I would like to accomplish this without the use of custom tasks.</p>