How can I diff 2 text files using NAnt to produce a file containing the differences?
I suggest you to use <exec>
task and call cmd with fc
command that compares files. It will look something like that
<exec program="cmd.exe" commandline="/C fc file1 file2" />
You can see fc
manpage here