I have the following code in AssemblyInfo.cs
:
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]
I'm trying to make sure the Build Number
changes each time I build/rebuild my project. But, in that case it doesn't. Only the Revision
changes if I build it on different days.
What am I missing?
Is is the File Version that is not changing?
The third number (out of 4) is the number of days since 2000. This will not change with each build, only with each passing day.
Change it to be:
[assembly: AssemblyVersion("1.0.*")]