VB.NET Language in a Nutshell

   
AssemblyVersion Attribute

Class

System.Reflection.AssemblyVersionAttribute

Applies To

Assembly

Description

Specifies the version of the assembly. The version is represented as a four-part number, as follows :

<major_version>.<minor_version>.<build_number>.<revision>

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

A wildcard indicates that an assembly can be used with clients requesting any value for the wildcard elements. 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 .NET, the <AssemblyVersion> attribute is automatically added to the AssemblyInfo.vb file and its value is set to 1.0.*.

Constructor

New(version)

version (String)

The version of the assembly

Properties

Version (String)

Read-only. The version of the assembly. Its value is set by the required version parameter of the attribute's class constructor.

   

Категории