O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

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.

Tip

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required