System.Reflection.AssemblyInformationalVersionAttribute Class

Defines additional version information for an assembly manifest.

See Also: AssemblyInformationalVersionAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AssemblyInformationalVersionAttribute : Attribute

Remarks

The attribute defined by this class attaches additional version information to an assembly. If this attribute is applied to an assembly, the string it specifies can be obtained at run time by using the System.Windows.Forms.Application.ProductVersion property. The string is also used in the path and registry key provided by the System.Windows.Forms.Application.UserAppDataPath property and the System.Windows.Forms.Application.UserAppDataRegistry property. If the System.Reflection.AssemblyInformationalVersionAttribute is not applied to an assembly, the version number specified by the System.Reflection.AssemblyVersionAttribute attribute is used instead.

Although you can specify any text, a warning message appears on compilation if the string is not in the format used by the assembly version number, or if it is in that format but contains wildcard characters. This warning is harmless.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0