Using CCNetLabel to set AssemblyVersion and PublishVersion with CruiseControl.NET
问题 I am trying to deploy a Click Once application (build and publish) using CruiseControl.NET. I cannot find out where I can use the CCNetLabel to set my AssemblyVersion and/or PublishVersion. I would accept other solutions that would allow a unique version number per CruiseControl.NET deployment (Live and Development deployments). 回答1: You need to write a script for setting your AssemblyVersion. I would recommend using NAnt or MSBuild for that purpose, but PowerShell or a simple bat file will