title: asp.net mvc does not find my view
body: <p>I have one of these annoying issues which are very simple and still I can't seem to find the problem.</p>
  
  <p>I have a simple 'test' controller. here is the code:</p>
  
  <pre><code>public class testController : Controller
  {
      //
      // GET: /test/
  
      public ActionResult Index(int id)
      {
          ItemModel item = null;
          item = CommonLib.ReturnFullItem(id);
  
          return View("~/Views/Emails/ItemRecordedEmail", item);
      }
  
  }
  </code></pre>
  
  <p>and I do have the folder <em>/Views/Emails/</em> with <em>ItemRecordedEmail.cshtml</em> view inside. But I get the following error message:</p>
  
  <blockquote>
    <p>The view '/Views/Emails/ItemRecordedEmail' or its master was not found
    or no view engine supports the searched locations.  The following
    locations were searched: /Views/Emails/ItemRecordedEmail</p>
  </blockquote>
  
  <p>when I move the <em>ItemRecordedEmail.cshtml</em> to some shared folder and change the code accordingly everything seems to work fine. Any ideas what do I do wrong?</p>
  
  <p>EDIT: I changed the path to '<strong>~</strong>/Views/Emails. This was the original path, I accidently left it out after all the tries I made. Still the same problem with the same error message, only this time it looks for it in the '~/Views/Emails' folder.</p>