Update of Version No?

  • Thread starter Thread starter al
  • Start date Start date
A

al

Greetings,

How the Version NO.of an assembly becomes updated? That is, for
example, if a component is modified and then recompiled, does that
produce automatic, say, version no. 1.1 of that component or do I have
to that manually??

MTIA,
Grawsha
 
Hi Al,

Mostly is the most simple thing to look at that AssemblyInfo.vb class that
is created with every form project.

I hope this helps?

Cor
 
* (e-mail address removed) (al) scripsit:
How the Version NO.of an assembly becomes updated? That is, for
example, if a component is modified and then recompiled, does that
produce automatic, say, version no. 1.1 of that component or do I have
to that manually??

My FAQ:

Basic information on versioning:

<URL:http://msdn.microsoft.com/library/en-us/dndotnet/html/managevers.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnbda/html/tdlg_ch5.asp>
<URL:http://msdn.microsoft.com/library/en-us/cptutorials/html/versioning_components.asp>

Parts of the version number:

Main version
"Product" version.

Sub version
Sub version, for example Service Pack.

Build
During development, auto-increment.

Revision
Hotfix or Quick Fix Engineering (QFE).

When using auto incrementation of numbers, the build number contains the
number of days since January, 2000; the revision contains the number of
seconds since midnight divided by 2.

The version number can be changed in the file "AssemblyInfo.vb". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflection.Assembly.GetExecutingAssembly( _
).GetName().Version.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows.Forms.Application.ProductVersion.ToString() _
)
///
 
Back
Top