Marc Towersap wrote:
I'm using <solution/>'s to build various .sln and *proj files by passing in the appropriate
Configuration parameter (like Release or ReleaseMinDependency. Is there a corresponding way to
"clean" the generated files without having to a bunch of <delete dir/>'s and <delete
file/>'s??
There isn't a way using the solution task, but a single delete should be
adequate. Usually there are just a small number of directory names, so
you can use something like:
<delete>
<include name="**/Debug/**" />
<include name="**/Release/**" />
<include name="**/temp/**" />
</delete>
I suppose more complicated situations are possible, but this strategy
has been working fine for me. (I actually use separate targets for C#
and C++ projects, but that's no big deal.)
Gary
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users