AssemblyIdentity.Version Property (2003 System)

Gets or sets the version of the application manifest or the version of the solution assembly that the AssemblyIdentity describes.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Property Version As FourPartVersion
'Usage
Dim instance As AssemblyIdentity
Dim value As FourPartVersion

value = instance.Version

instance.Version = value
public FourPartVersion Version { get; set; }

Property Value

Type: Microsoft.VisualStudio.Tools.Applications.Runtime.FourPartVersion
A FourPartVersion that specifies the version of the application manifest or the version of the solution assembly that the AssemblyIdentity describes.

Remarks

If the assembly is signed with a strong name and the AssemblyIdentity is returned by the Dependency.AssemblyIdentity property, then the Version property must match the version of the assembly. Otherwise, the assembly will fail to load. If the assembly is not signed with a strong name, then the Version property is ignored.

Permissions

See Also

Reference

AssemblyIdentity Class

AssemblyIdentity Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace