Using Date Version Numbers for Assemblies in TeamCity
In some projects, I use the AssemblyInfo Patcher build feature to modify the AssemblyInfo.cs’s version information. Mainly I was just using a static version with the %build_number% suffixed at the end. Something like 1.2.3.%build_number%. However, I decided to go with a date version number of YYYY.MM.DD.%build_number% Variables The first thing that caused me an issue was there is no existing system or environment variables defined that provide you with date parts. I figured this by adding a new build step for creating an environment variable using Service Messages. Service messages are specially constructed pieces of text that are used to pass… Read More »Using Date Version Numbers for Assemblies in TeamCity