That is why the command line used to compile the assembly should be saved and checked. If you changed the build file and it causes a command line setting to be changed the build will get executed. This gives you exactly what you are getting by depending on the build file except that if you also change something unrelated to the build (like add a comment) the build will not get executed.
> BTW: I do not like to "nant clean;nant" every time I change > build file during devel of this. It's not so much problem to > add "rebuild" rule anyway... > > BTW2: Many commercial environments do rebuild when project is > changed. This is case of "for sure" rule - user could be very > confused, when he e.g. enable <Debug property> in project and > his debugger refuse to debug. And property task is not direct > compile task - so isolating of <csc> into another file do not > help. I see - there are much more cases where recompile is > not needed, but... that few could confuse user a lot. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers