IncrementMethod Enumeration | MSBuild Extension Pack Help 4.0.12.0 |
Specifies how certain version numbers are incremented by the task.
Namespace: MSBuild.ExtensionPack.Framework
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
Members
Member name | Value | Description | |
---|---|---|---|
NoIncrement | 0 | Do not auto-increment the number. | |
AutoIncrement | 1 | Add one to the current number. | |
DateString | 2 | Format the current date and time using a formatting string, and use that as the number. | |
Julian | 3 | Format the current date as the two digit year and the day of the year, and use that as the number, i.e. the revision number for 7/03/2009 is 09184 | |
YearWeekDay | 4 | Format the current date as YYWWDW where YY is the year, WW is the week number and DW is the day of the week e.g. 2 Feb 2010 would be 10062. 15 March 2010 will be 10121 and 19 December 2010 10475. | |
ElapsedDays | 5 | Calculate the number of days elapsed since a given StartDate. Take note of the StartDate, PaddingCount and PaddingDigit parameters. |
See Also