views:

216

answers:

0

I want to set the Assembly number to the following

AssemblyMajorVersion.AssemblyMinorVersion.AssemblyBuildNumber.AssemblyRevision

YYYY-MM-DD-XXX

Where XXX is my TEamCity $(BUILD_NUMBER)

I can assign the value of $(BUILD_NUMBER) and see that is has been set using a text message e.g.

However, When I inspect $(MaxAssemblyVersion), I get an emtpy string.

How should I set up my AssmblyInfo override e.g.

<AssemblyRevisionType>NoIncrement</AssemblyRevisionType>
<AssemblyRevisionFormat>0</AssemblyRevisionFormat>

And what is the difference between NoIncrement, AutoIncrement.