title: My Helpers.vbhtml file results in "Type 'ASP.global_asax' is not defined"
body: <p>I created the ASP.NET special folder called <code>App_Code</code> in my MVC project. I added a new file <code>Helpers.vbhtml</code> that will contain repeatedly-used razor code snippets.</p>
  
  <p><img src="https://i.imgur.com/yAd3jnp.png" alt="Folder structure"></p>
  
  <p><strong>Helpers.vbhtml</strong></p>
  
  <pre><code>@Helper GetTime()
      @DateTime.Now
  End Helper
  </code></pre>
  
  <p>But this results in the error <code>Type 'ASP.global_asax' is not defined.</code> (x2)</p>
  
  <p><img src="https://i.imgur.com/OmNIlPm.png" alt="Error"></p>
  
  <p>Nothing seems to be affected - the application still compiles and runs. What's this error mean?</p>