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.
Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.