title: HTML Extension not available in _LogOnPartial.cshtml (Razor)
body: <p>I 've done the foloowing:</p>
  
  <p>created the following a class/method:</p>
  
  <pre><code>namespace MyApp.Extensions
  {
      public static class Html
      {
  
          public static MvcHtmlString ActionImage(this HtmlHelper html, string action, object routeValues, string imagePath, string alt)
          { ...}
       }
  }
  </code></pre>
  
  <p>Put namespace MyApp.Extensions in ~Views/Web.config. To see if it shows up in Itellisense i tried to type in _Layout.cshtml and it worked without any problem. </p>
  
  <p>BUT: it doesn't show up in _LogOnPartial.cshtml. </p>
  
  <p>Why? What am i doing wrong?</p>
  
  <p>Thanks in advance</p>