title: System.Web.Mvc missing error while building ASP.NET MVC 3 using NAnt
body: <p>My MVC 3 project is building successfully in my development machine with Visual Studio 2010 + MVC 3. In the build server, VS2010 is not used and I've installed 'ASP.NET MVC 3 Tools Update'. I've also downloaded NAnt and used TortoiseSVN to checkout all the files except bin directories. </p>
  
  <p>But while building using <code>Nant default.build</code>, I'm getting build error </p>
  
  <blockquote>
    <p>'The type or namespace name 'Mvc' does not exist in the namespace
    'System.Web'</p>
  </blockquote>
  
  <p>(are you missing an assembly reference?). Same with 'Controller', 'ActionResult', 'GlobalFilterCollection' etc (type or namespace could not be found).</p>
  
  <p>I can see <code>System.Web.Mvc.dll</code> in </p>
  
  <blockquote>
    <p>C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.Mvc\v4.0_3.0.0.0__31bf3856ad364e35\</p>
  </blockquote>
  
  <p>. What am I missing here? Why NAnt can't find this file? Is there no other way than copying the assembly files into local bin?</p>