title: Asp.Net MVC3 Razor help, the wrong _ViewStart.cshtml is being called
body: <p>I have a controller 'QUnitController', then I have a folder in my Views folder 'QUnit'. In that folder I have a _ViewStart.cshtml thats coded to use the _Layout file within this folder for the Views in the QUnit folder. For some reason the _ViewStart.cshtml in the Views folder is being called and not my _ViewStart.cshtml within the QUnit folder. What am I doing wrong here?  I thought having this file in the folder would override the one in the route. I can place break points in the _ViewStart files and I see the one I want is never being hit.  Can anyone tell me what I'm doing wrong? </p>
  
  <p>Here is controller code. QUnitController.cs</p>
  
  <pre><code> public class QUnitController : Controller
  {
      public ActionResult LoadView(string viewName)
      {
          return View(viewName);
      }
  }
  </code></pre>
  
  <p>Here is route Views/_ViewStart.cshtml</p>
  
  <pre><code>@{
      Layout = "~/Views/Shared/_Layout.cshtml";
  
  }
  </code></pre>
  
  <p>Here is qunit Views/QUnit/_ViewStart.cshtml</p>
  
  <pre><code>@{
      Layout = "~/Views/QUnit/_Layout.cshtml";
  
  }
  </code></pre>
  
  <p>Why am I not calling the correct _ViewStart? Can anyone help me correct the problem? I appreciate any help or tips anyone may have.  </p>
  
  <p>Thanks,<br>
  ~ck in San Diego</p>