title: AssemblyFileVersion causing build to fail
body: <p>When I try to build my project, I get the following error:</p>
  
  <pre><code>error : Unable to update the AssemblyFileVersion for c:\builddir\MyProject\AssemblyInfo.cs: No stub entry for AssemblyFileVersion was found in the AssemblyInfo file.
  </code></pre>
  
  <p>I found <a href="http://social.msdn.microsoft.com/forums/en-US/msbuild/thread/828f6b53-81c0-498a-9d02-0c6437aa835a" rel="nofollow">this</a> article, which implies that a "stub" property is required.  So, in my AssemblyInfo.cs, I tried to specify one:</p>
  
  <pre><code>[assembly: AssemblyFileVersion("1.0.0")]
  </code></pre>
  
  <p>However, it isn't recognised.  I finally came across <a href="http://www.danielmoth.com/Blog/assemblyfileversion-on-cf.aspx" rel="nofollow">this</a> article, which says that you can't use the AssemblyFileVersion property with the CF.  The targets file used by the build script is also used for building other, non CF projects, and needs to update the FileVersion for them.</p>
  
  <p>Is it possible to put something in the AssemblyInfo.cs file, the target file or the build script that stops this from being an issue?</p>