title: Razor can not find my HTML helper
body: <p>I am using VS Express 2012 for the Web. My project is a MVC 4 project.</p>
  
  <p>I am trying to make a helper to create a menu item which is a png image with a label. I pretty much cut and pasted this code:</p>
  
  <p><a href="https://stackoverflow.com/questions/4896439/action-image-mvc3-razor">Action Image MVC3 Razor</a></p>
  
  <p>When I try to use the helper razor can not find it.</p>
  
  <p>I get this error:</p>
  
  <p>CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'AddMenuItem' and no extension method 'AddMenuItem' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)</p>
  
  <p>My code looks like this: <a href="http://pastebin.com/cfsN99tF" rel="nofollow noreferrer">http://pastebin.com/cfsN99tF</a></p>
  
  <p>I am trying to use this from _Layout.cshtml: <a href="http://pastebin.com/5vN8yYCa" rel="nofollow noreferrer">http://pastebin.com/5vN8yYCa</a></p>
  
  <p>I have added the namespace to Web.Config</p>
  
  <pre><code>&lt;pages&gt;
    &lt;namespaces&gt;
      &lt;add namespace="System.Web.Helpers" /&gt;
      &lt;add namespace="System.Web.Mvc" /&gt;
      &lt;add namespace="System.Web.Mvc.Ajax" /&gt;
      &lt;add namespace="System.Web.Mvc.Html" /&gt;
      &lt;add namespace="System.Web.Optimization" /&gt;
      &lt;add namespace="System.Web.Routing" /&gt;
      &lt;add namespace="System.Web.WebPages" /&gt;
      &lt;add namespace="HtmlHelperExtensions" /&gt;
    &lt;/namespaces&gt;
  &lt;/pages&gt;
  </code></pre>
  
  <p>What else do I need to do?</p>