title: "AssemblyInfo" MSBuild task failing in Jenkins build
body: <p>I'm getting this build error on Jenkins.  I'd appreciate any help hunting down a solution for it, or even someone to point me in the right direction.</p>
  
  <p>This is the error I'm getting:</p>
  
  <blockquote>
    <p>"D:\Jenkins\jobs*REDACTED*\workspace\CAPS.msbuild" (default target)
    (1) -> (Compile target) ->  error MSB4018: The "AssemblyInfo" task
    failed unexpectedly. System.ArgumentException: version  Parameter
    name: The specified string is not a valid version number  at
    Microsoft.Build.Extras.Version.ParseVersion(String version)  at
    Microsoft.Build.Extras.AssemblyInfo.Execute()  at
    Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    at
    Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext()</p>
  </blockquote>
  
  <p>I've verified that the AssemblyInfo.cs files all look good (as far as I can tell) and nothing seems out of sorts with the msbuild file for the solution. </p>
  
  <p>I've Googled all the derivations of the error that I can think of.  </p>
  
  <p>Any advice would be appreciated.</p>
  
  <p><strong>Comment Responses:</strong></p>
  
  <p>From the AssemblyInfo.cs file:</p>
  
  <pre><code>[assembly: AssemblyVersion("2.0.*")]
  </code></pre>
  
  <p>From the msbuild file:</p>
  
  <pre><code>&lt;PropertyGroup&gt;
      &lt;ProjectName&gt;CAPS&lt;/ProjectName&gt;
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Release&lt;/Configuration&gt;
      &lt;VersionLabel Condition=" '$(VersionLabel)' == '' "&gt;0.0&lt;/VersionLabel&gt;
      &lt;AssemblyVersion&gt;2.0.$(VersionLabel)&lt;/AssemblyVersion&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>This may also be relevant: </p>
  
  <pre><code>&lt;Target Name="Compile"&gt;
          &lt;ItemGroup&gt;
              &lt;UpdateFiles Include="**\AssemblyInfo.cs" Exclude="**\.svn\**" /&gt;
          &lt;/ItemGroup&gt;
          &lt;AssemblyInfo AssemblyInfoFiles="@(UpdateFiles)" AssemblyVersion="$(AssemblyVersion)" AssemblyFileVersion="$(AssemblyVersion)"/&gt;
  
          &lt;MSBuild Projects="$(ProjectName).sln" Properties="Configuration=$(Configuration);RunCodeAnalysis=true" /&gt;
  &lt;/Target&gt;
  </code></pre>