title: Updating Assembly information with MSBuild failing
body: <p>All </p>
  
  <p>i am trying to automatically update the assembly information of a project using AssemblyInfo task, before build however the target appears to do nothing (no failure/error) just no update/creation</p>
  
  <p>Below is the build.proj file I am using (obviously some contents altered) </p>
  
  <p>Can anyone help?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project DefaultTargets="Build"  
           xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
  
    &lt;Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/&gt;
    &lt;Import Project="$(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.targets"/&gt;
    &lt;PropertyGroup&gt;
      &lt;Major&gt;1&lt;/Major&gt;
      &lt;Minor&gt;0&lt;/Minor&gt;
      &lt;Build&gt;0&lt;/Build&gt;
      &lt;Revision&gt;0&lt;/Revision&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup&gt;
      &lt;BuildDir&gt;C:\svn\Infrastructure&lt;/BuildDir&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;SolutionsToBuild Include="Infrastructure.sln"/&gt;
    &lt;/ItemGroup&gt;
  
    &lt;Target Name="Build" DependsOnTargets="ChangeDataAccessAssemblyInfo"&gt;
      &lt;RemoveDir Directories="$(BuildDir)\Builds" Condition="Exists('$(BuildDir)\Builds')" /&gt;
      &lt;MSBuild Projects="@(SolutionsToBuild)" Properties="Configuration=Debug" Targets="Rebuild" /&gt;
    &lt;/Target&gt;
  
    &lt;ItemGroup&gt;
      &lt;TestAssemblies Include="Build\Logging\Logging.UnitTests.dll" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;!--&lt;UsingTask TaskName="NUnit" AssemblyFile="$(teamcity_dotnet_nunitlauncher_msbuild_task)" /&gt;
    &lt;Target Name="Test" DependsOnTargets="Build"&gt;
      &lt;NUnit NUnitVersion="NUnit-2.4.6" Assemblies="@(TestAssemblies)" /&gt;
    &lt;/Target&gt;--&gt;
  
    &lt;Target Name="ChangeDataAccessAssemblyInfo" &gt;
      &lt;Message Text="Writing ChangeDataAccessAssemblyInfo file for 1"/&gt;
      &lt;Message Text="Will update $(BuildDir)\DataAccess\My Project\AssemblyInfo.vb" /&gt;
      &lt;AssemblyInfo CodeLanguage="VB"
         OutputFile="$(BuildDir)\DataAccess\My Project\AssemblyInfo_new.vb"                
         AssemblyTitle="Data Access Layer"
         AssemblyDescription="Message1"
         AssemblyCompany="http://somewebiste"
         AssemblyProduct="the project"
         AssemblyCopyright="Copyright notice"
         ComVisible="true"
         CLSCompliant="true"
         Guid="hjhjhkoi-9898989"
         AssemblyVersion="$(Major).$(Minor).1.1"
         AssemblyFileVersion="$(Major).$(Minor).5.7"
         Condition="$(Revision) != '0' "
         ContinueOnError="false" /&gt;
  
      &lt;Message Text="Updated Assembly File Info" 
               ContinueOnError="false"/&gt;
    &lt;/Target&gt;  
  &lt;/Project&gt;
  </code></pre>