The Version
class in .NET represents version numbers as consisting of two to four components. AssemblyInfo files specify the following format for the AssemblyVersion
and AssemblyFileVersion
fileds:
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
It is unclear if Build Number
and Revision
are required here, since they aren't required in the Version
class. Are they required? In other words, is this legal?
[assembly: AssemblyVersion("1.0")]
[assembly: AssemblyFileVersion("1.0")]
Or does that need to be represented as the following?
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]