This documentation is archived and is not being maintained.

Restricted Values for Version Number in Managed Applications

Visual Studio .NET 2003

In applications using Managed Extensions for C++, the value 65535 is not allowed for any part of the assembly version number. For example, compiling the following code:

public class CMyClass
   int value;

generates a LNK1256 error, informing the user that the version specified (in this case, "1.0.65535") for the resulting assembly is invalid. The valid range for assembly versions is 0 – 65534.

See Also

AssemblyVersionAttribute | Assemblies, Attributes, and Metadata