I've been trying to set up a continuous integration environment using NAnt, and CC.Net, but I did'nt know the best option to synchonize the AssemblyVersion.cs, the CC Label, and the versions tasks of NAnt. This article http://bitarray.co.uk/marc/archive/2004/08/17/273.aspx proposes a very  elegant solution for this problem