clean dir in ccnet prebuild task

<!--  
    Pre build tasks 
    User powershell to CLEAN the directory, it doesn't remove the parent as this will be in use by cc.net 
-->
<prebuild> 
  <exec> 
    <executable>powershell.exe</executable> 
    <buildArgs><![CDATA[-command "& {if( [System.IO.Directory]::Exists($pwd) ){dir $pwd | ri -recurse -force}}"]]></buildArgs> 
  </exec> 
</prebuild>
posted @ 2009-09-27 10:56  new 维生素C.net()  阅读(302)  评论(0编辑  收藏  举报