AssemblyVersion Attribute


AssemblyVersion Attribute

Class

System.Reflection.AssemblyVersionAttribute

Applies To

Assembly

Constructor

     New(version) 


version (required; String)

The version of the assembly

Properties


Version (String)

Read-only. Value from the version constructor parameter.

Description

The <AssemblyVersion> attribute specifies the version of the assembly. The version is represented as a four-part number, as follows:

     major.minor.build.revision 

Ordinarily, the .NET runtime considers a difference in any one of these four-part numbers to indicate a different version.

A wildcard character (*) in any of the four positions indicates that an assembly can be used with clients requesting any value for the wildcard element. For example, if the version is set to "1.0.*," the assembly can be used for clients requesting Version 1.0.1681.0, 1.0.1723.0, and 1.0.1723.2.

In Visual Studio, the <AssemblyVersion> attribute is automatically added to the AssemblyInfo.vb file, and its value is set to "1.0.*."


Version Differences

Beginning with Visual Basic 2005, the My.Application.Info.Version property returns the assembly version information for the active application.




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net