AssemblyName.Version gets or sets the major, minor, build, and revision numbers of the assembly.
Imports System
Imports System.Reflection
<Assembly:AssemblyVersion("1.1.0.0")>
Class Example
Shared Sub Main()
Console.WriteLine("The version of the currently executing assembly is: {0} ",Assembly.GetExecutingAssembly().GetName().Version)
End Sub
End Class
Related examples in the same category