Table of Contents

Class AssemblyFileVersionAttribute

Namespace
System.Reflection
Assembly
mscorlib.dll

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.

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
Inheritance
AssemblyFileVersionAttribute
Inherited Members
Extension Methods

Constructors

AssemblyFileVersionAttribute(string)

Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.

public AssemblyFileVersionAttribute(string version)

Parameters

version string

The file version.

Exceptions

ArgumentNullException

version is null

Properties

Version

Gets the Win32 file version resource name.

public string Version { get; }

Property Value

string

A string containing the file version resource name.