I've written a custom labeller for CruiseControl which creates version number simularly to those created by Visual Studio.
CCNet MS Project Labeller download and documentation