<assembly: AssemblyVersion("1.0.*")>
The result of this is a build number set to the number of days since a
random, designated start date and the revision based on the number of
seconds since midnight. For a Microsoft Visual Basic® .NET project with an
AssemblyVersion set to "1.0.*", the assembly version is only updated the
first time the project is rebuilt within the Visual Studio .NET integrated
development environment (IDE). The version number remains constant for
subsequent rebuilds within the same instance of Visual Studio .NET. This
does not represent a problem because the assembly version is for information
only in assemblies that do not have a strong name. For strong named
assemblies, you should avoid the use of wild characters in the
AssemblyVersion attribute, as explained in the following section. For C#
projects with an AssemblyVersion set to "1.0.*", the assembly version is
updated every time the project is rebuilt.
For more details about versioning, check out this link
http://www.microsoft.com/india/msdn/...ersioning.aspx
--
Saravana
http://dotnetjunkies.com/WebLog/saravana/ www.ExtremeExperts.com
"mekim" <me***@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
hmmm...interesting algorithim :)
It doesn't seem to increment on each build which is my understanding that
it's suppose to do
' Version information for an assembly consists of the following
four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build
and Revision Numbers
' by using the '*' as shown below:
<Assembly: AssemblyVersion("1.0.*")>
"Karl Seguin" wrote:
You aren't doing anything wrong,
1.0.X.Y
x is the number of days since Feb 1 2000, and y the number of seconds
since midnight / 2
There is a command tool that might help you:
http://code.mattgriffith.net/UpdateVersion/
You might also want to check out:
http://groups.google.com/groups?hl=e...p02%26rnum%3D2
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"mekim" <me***@discussions.microsoft.com> wrote in message
news:B9**********************************@microsof t.com... Hello....I am trying to
System.Reflection.Assembly.GetExecutingAssembly ().GetName
().Version.ToString () ;
to display the version of the app...but it remains static and
therefore does not increment...it's
AssemblyInfo.vb looks like this
<Assembly: AssemblyVersion("1.0.*")>