Mike, This seems to be a bug. Please file this, and as a workaround try adding a Condition attribute with an Exists check:
http://msdn.microsoft.com/en-us/library/7szfhaft.aspx Something like: <RemoveDir Condition="Exists('Imp/bin')" Directories="Imp/bin" /> Thanks, Jonathan On Wed, Aug 3, 2011 at 9:13 PM, Mike Christensen <[email protected]> wrote: > I'm trying to port an MSBuild script to XBuild and running into the > following issue: > > <RemoveDir Directories="Imp/bin" /> > > This crashes and stops building if Imp/bin does not exist. On > MSBuild, it will just do nothing and ignore the command. > > Is this a bug? Is there any way I can say "delete the directory if it > exists?" > > Thanks! > > Mike > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
