AssemblyInfo Version Number
-
Hi All, I am currently trying to figure out how the [assembly: AssemblyVersion("1.0.0.*")] works. In particular the * part of it. I understand about the Major Number, Minor Number and Build Number. What I don't understand is the Revision Number. As it is * it automatically increments... however; what determines the revision number. I.e. where does it come from? If anyone knows, I'd appreciate your thoughts, Thanks :)
-
Hi All, I am currently trying to figure out how the [assembly: AssemblyVersion("1.0.0.*")] works. In particular the * part of it. I understand about the Major Number, Minor Number and Build Number. What I don't understand is the Revision Number. As it is * it automatically increments... however; what determines the revision number. I.e. where does it come from? If anyone knows, I'd appreciate your thoughts, Thanks :)
It is nothing but the number of Build action. I suppose.
Shyam.. My Blog dotnetscoups.blogspot.com
-
It is nothing but the number of Build action. I suppose.
Shyam.. My Blog dotnetscoups.blogspot.com
This is also what i expected... however; I dont understand how it is generated. For example, the application i am currently working on requires it to be displayed. I ran the appplication and the number that was displayed was 1.2.0.19976, I made a couple of changes and ran it again, then the new version number was 1.2.0.20068. I don't understand why it increments so much. :)
-
This is also what i expected... however; I dont understand how it is generated. For example, the application i am currently working on requires it to be displayed. I ran the appplication and the number that was displayed was 1.2.0.19976, I made a couple of changes and ran it again, then the new version number was 1.2.0.20068. I don't understand why it increments so much. :)
Check how many time you hit F5, Build , Rebuild or Batch Build between the first and second run.
Shyam.. My Blog dotnetscoups.blogspot.com
-
Hi All, I am currently trying to figure out how the [assembly: AssemblyVersion("1.0.0.*")] works. In particular the * part of it. I understand about the Major Number, Minor Number and Build Number. What I don't understand is the Revision Number. As it is * it automatically increments... however; what determines the revision number. I.e. where does it come from? If anyone knows, I'd appreciate your thoughts, Thanks :)
Have a look at AssemblyVersion build and revision number[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
Check how many time you hit F5, Build , Rebuild or Batch Build between the first and second run.
Shyam.. My Blog dotnetscoups.blogspot.com
It seems that the revision number is the number of seconds since midnight divided by 2 :) http://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute.assemblyversionattribute(vs.71).aspx[^]
-
Have a look at AssemblyVersion build and revision number[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
oh.. Great.. Thanks Giorgi :)
Shyam.. My Blog dotnetscoups.blogspot.com
-
oh.. Great.. Thanks Giorgi :)
Shyam.. My Blog dotnetscoups.blogspot.com
You are welcome :)
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion