AssemblyFileVersionAttribute Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- version
- Type: System.String
The file version.
| Exception | Condition |
|---|---|
| ArgumentNullException | version is Nothing. |
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.