title: What is the required format for assembly versions?
body: <p>The <a href="http://msdn.microsoft.com/en-us/library/hdxyt63s.aspx" rel="nofollow"><code>Version</code></a> class in .NET represents version numbers as consisting of two to four components.  AssemblyInfo files specify the following format for the <code>AssemblyVersion</code> and <code>AssemblyFileVersion</code> fileds:</p>
  
  <pre><code>// Version information for an assembly consists of the following four values:
  //
  //      Major Version
  //      Minor Version 
  //      Build Number
  //      Revision
  </code></pre>
  
  <p>It is unclear if <code>Build Number</code> and <code>Revision</code> are required here, since they aren't required in the <code>Version</code> class.  Are they required?  In other words, is this legal?</p>
  
  <pre><code>[assembly: AssemblyVersion("1.0")]
  [assembly: AssemblyFileVersion("1.0")]
  </code></pre>
  
  <p>Or does that need to be represented as the following?</p>
  
  <pre><code>[assembly: AssemblyVersion("1.0.0.0")]
  [assembly: AssemblyFileVersion("1.0.0.0")]
  </code></pre>