title: ASP.NET MVC 3 with Razor and Spark view engine side by side
body: <p>I recently upgraded from MVC2 to MVC3.  We used to use the Spark view engine and I'm trying to start migrating over to Razor.  So far the upgrade to MVC3 was successful.  I upgraded the Spark view engine as well because I needed to.</p>
  
  <p>The issue is that I am able to render both Spark and Razor views successfully but for some reason MVC is looking for Spark files in one location and Razor in another.  It's as if Razor isn't factoring in my areas properly but Spark is.  </p>
  
  <h1>Output:</h1>
  
  <pre><code>&lt;pre&gt;
  The view 'index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
  
  ~/Areas/Live/Views/multimedia/index.aspx
  ~/Areas/Live/Views/multimedia/index.ascx
  ~/Areas/Live/Views/Shared/index.aspx
  ~/Areas/Live/Views/Shared/index.ascx
  ~/Views/multimedia/index.aspx
  ~/Views/multimedia/index.ascx
  ~/Views/Shared/index.aspx
  ~/Views/Shared/index.ascx
  ~/Areas/Live/Views/multimedia/index.cshtml
  ~/Areas/Live/Views/multimedia/index.vbhtml
  ~/Areas/Live/Views/Shared/index.cshtml
  ~/Areas/Live/Views/Shared/index.vbhtml
  ~/Views/multimedia/index.cshtml
  ~/Views/multimedia/index.vbhtml
  ~/Views/Shared/index.cshtml
  ~/Views/Shared/index.vbhtml
  Live\~\Areas\Live\Views\multimedia\index.spark
  Live\~\Areas\Live\Views\Shared\index.spark
  Live\multimedia\index.spark
  Live\Shared\index.spark
  Live\~\Areas\Live\Views\multimedia\index.shade
  Live\~\Areas\Live\Views\Shared\index.shade
  Live\multimedia\index.shade
  Live\Shared\index.shade
  ~\Areas\Live\Views\multimedia\index.spark
  ~\Areas\Live\Views\Shared\index.spark
  multimedia\index.spark
  Shared\index.spark
  ~\Areas\Live\Views\multimedia\index.shade
  ~\Areas\Live\Views\Shared\index.shade
  multimedia\index.shade
  Shared\index.shade
  &lt;/pre&gt;
  </code></pre>
  
  <p>If I move my .cshtml file to where MVC wants it to be it will work but that's not going to cut it.  Why would the two engines be looking in slightly different spots?</p>