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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access