title: ASP.NET MVC 4 Areas in separate projects not working (view not found)
body: <p>I have tried to create simple proof-of-concept ASP.NET MVC 4 web site using areas in separate projects.</p>
  
  <p>I tried to following tutorials: <a href="http://bob.archer.net/content/aspnet-mvc3-areas-separate-projects" rel="nofollow noreferrer">http://bob.archer.net/content/aspnet-mvc3-areas-separate-projects</a> (Application doesn't work in virtual directory... I use IIS). I hope there is better way than virtual directories.</p>
  
  <p>Then I tried this tutorial: <a href="http://forums.asp.net/t/1483660.aspx/1" rel="nofollow noreferrer">http://forums.asp.net/t/1483660.aspx/1</a>
  But there is no "AreasManifestDir" element in *.csproj of area project (and got error "The view 'Index' or its master was not found or no view engine supports the searched locations")</p>
  
  <p>Is there still support in ASP.NET for MVC 4? Because I found this answer that it can be removed in future:  <a href="https://stackoverflow.com/questions/1526631/what-are-the-pros-and-cons-of-areas-implemented-as-single-projects-vs-multiple-p">What are the pros and cons of Areas implemented as single projects vs multiple projects in asp.net mvc</a></p>
  
  <p>I haven't found any how-to for MVC4.</p>
  
  <p>Structure of solution is simple:</p>
  
  <pre><code>Solution 'MvcAreasMultiProject'
      Areas [Directory]
          Admin [Project]
          Models
          Views
          Controllers
          Routes.cs [Examples]
      MvcAreasMultiProject [MainProject]
          - References Admin project
          M.V.C
  </code></pre>
  
  <p>Routes.cs of Admin project:</p>
  
  <pre><code>namespace Admin
  {
  public class Routes : AreaRegistration
  {
      public override string AreaName { get { return "Admin"; } }
  
      public override void RegisterArea(AreaRegistrationContext context)
      {
          context.MapRoute(
              "Admin_Default",
              "Admin/{action}/{id}",
              new { controller = "Admin", action = "Index", id = "" },
              new[] { "Admin.Controllers" }
          );
      }
  }
  }
  </code></pre>
  
  <p>Thanks for any help!</p>