title: Error building ASP MVC solution with Team City
body: <p>Im testing out the new MVC2 framework, and there I also have tried out the new <code>areas</code> functionality.</p>
  
  <p>Im following this example:<br>
  <a href="http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx" rel="nofollow noreferrer">Walkthrough: Creating an ASP.NET MVC Areas Application Using Multiple Projects</a> </p>
  
  <p>Everything builds and runs okay locally, but when I try to commit to my repository and the use the build automation engine Team City I get a build error.</p>
  
  <blockquote>
    <p>error MSB4062: The "Microsoft.Web.Mvc.Build.CreateAreaManifest" task could not be loaded from the assembly Microsoft.Web.Mvc.Build, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not load file or assembly 'Microsoft.Web.Mvc.Build, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Confirm that the  declaration is correct, and that the assembly and all its dependencies are available.</p>
  </blockquote>
  
  <p>I have built other MVC2 applications on my Team City server and it worked out fine, but when I added the whole "areas" thing it just could not get it right.</p>
  
  <p>Any ideas?</p>