title: Compile error with T4MVC generated code in a MVC 3 project
body: <p>We are developing a web application with ASP.Net 4 &amp; MVC 3 Framework. I've installed T4MVC through NuGet and all the Views, Controllers and static content are succesfully generated as strong types.</p>
  
  <p>But, when I try to compile the project, it raises an error at generated file T4MVC.cs, which is:</p>
  
  <pre><code>'T4MVC_ViewResultBase.FindView(System.Web.Mvc.ControllerContext)': 
   return type must be 'System.Web.Mvc.ViewEngineResult' to match overridden member
   'System.Web.Mvc.ViewResultBase.FindView(System.Web.Mvc.ControllerContext)'
  </code></pre>
  
  <p>This is the source code generated:</p>
  
  <pre><code>[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
  public class T4MVC_ViewResultBase : System.Web.Mvc.ViewResultBase,
                                                              IT4MVCActionResult 
  {
    public T4MVC_ViewResultBase(string area, string controller, string action):
        base()  {
         this.InitMVCT4Result(area, controller, action);
      }
  
      protected override void FindView(System.Web.Mvc.ControllerContext context){}
  
      public string Controller { get; set; }
      public string Action { get; set; }
      public RouteValueDictionary RouteValueDictionary { get; set; }
  }
  </code></pre>
  
  <p>The error says that:</p>
  
  <pre><code>protected override void FindView(System.Web.Mvc.ControllerContext context) { }
  </code></pre>
  
  <p>should be:</p>
  
  <pre><code>protected override ViewEngineResult 
                 FindView(System.Web.Mvc.ControllerContext context) { }
  </code></pre>
  
  <p>But then it raises another compiling error, as this method should return code.</p>
  
  <p>If we check the base class it inherits from, <em>System.Web.Mvc.ViewResultBase</em>, it actually declares <em>FindView()</em> with <em>ViewEngineResult</em> return type:</p>
  
  <pre><code>public abstract class ViewResultBase : ActionResult
      {
          ...
          protected abstract ViewEngineResult FindView(ControllerContext context);
      }
  </code></pre>
  
  <p>Has anyone got this error? Has it something to do with MVC version, are we are using MVC 3?</p>
  
  <p>Thanks a lot!
  Sergi</p>