Class AssemblyFileVersionAttribute
Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.
Inherited Members
Namespace: System.Reflection
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
Constructors
AssemblyFileVersionAttribute(string)
Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.
Declaration
public AssemblyFileVersionAttribute(string version)
Parameters
Type | Name | Description |
---|---|---|
string | version | The file version. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | version is null |
Properties
Version
Gets the Win32 file version resource name.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
string | A string containing the file version resource name. |