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:
00968615
Views:
8
>>Do you know where I can find more information about how the build and revision number are generated

I had problem experimenting the Revision number and look around to found not much on that.

>>What method do you use to retreive version information?

You can use Application.ProductVersion() to retreive the four parts version number as a string.


>Eric,
>Ok that makeWell then it makes sense that the build number stayed at 1805 all day friday:) Do you know where I can find more information about how the build and revision number are generated (I do belive you I would just like to see more information about it)?
>
>I posed a thread earlier asking for the best way to retreive the version information at run-time. I answered my own post since I found a way to do it through the FileVersionInfo class (if I remember correctly), but I don't think my solution is very elegant(I have to pass the name and path of the exe (dll). What method do you use to retreive version information?
>
>Einar
>
>>The 4 parts are Major.Minor.Build.Revision
>>
>>When you write something like : AssemblyVersion("1.1.*")
>>
>>Build will receive the number of days since January 1st, 2000.
>>Revision is supposed to be the number of seconds elapsed in the current day (since midnight) but I have problem with because I cannot always reproduce it using this formula!
>>
>>
>>>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
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform