Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build number: What is it?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00968444
Message ID:
00969198
Views:
6
>According to the version information of my application exe file the build number is 1805. Now I know I have not built it 1805 times (yet). So what does it tell me?
>I have tried to build my application several times (even making modifications before I built it) and the build number is still 1805. How does that number change?
>
>In my AssemblyInfo.cs file I have the following:
>
>[assembly: AssemblyVersion("1.1.*")]
>
>
>What I would like the build number to do is to increase by 1 every time I build my solution/project.
>
>Any information regarding this issue would be appreciated.
>
>Thanks,
>Einar

From the docs AssemblyVersionAttribute constructor:

The format of the version string is: major. minor. build. revision.

When specifying a version, you have to at least specify major. If you specify major and minor, you can specify an asterisk (*) for build. This will cause build to be equal to the number of days since January 1, 2000 local time, and for revision to be equal to the number of seconds since midnight local time, divided by 2.

If you specify major, minor, and build, you can specify an asterisk for revision. This will cause revision to be equal to the number of seconds since midnight local time, divided by 2.

Examples of valid version strings include:

1

1.1

1.1.*

1.1.1

1.1.1.*

1.1.1.1

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform