Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AssemblyFileVersionAttribute Constructor (String^)

 

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

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
AssemblyFileVersionAttribute(
	String^ version
)

Parameters

version
Type: System::String^

The file version.

Exception Condition
ArgumentNullException

version is null.

The file version is normally a string of four numbers, separated by periods, reflecting the major version number, minor version number, build number, and revision number; for example, "1.0.4309.00". If version is not in this format, a compiler warning occurs, and the results displayed in the file properties dialog are unpredictable. Wildcards are not supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft