Cannot load type from App_Code folder (Website not web app)
<p>I've been having this problem for awhile now. I cannot load the types from the code behind files. </p>

<p>For example:</p>

<pre><code>&lt;%@ Application Codebehind="~/App_Code/GlobalAsax.cs" Inherits="BaseGlobal.GlobalAsax" Language="C#" %&gt;
</code></pre>

<p>and here is my c# GlobalAsax.cs file:</p>

<pre><code>namespace BaseGlobal
{
    public class GlobalAsax : System.Web.HttpApplication
    {
        //code in here... 
    }

}
</code></pre>

<p>Specific error:</p>

<blockquote>
  <p>Cannot load type BaseGlobal.GlobalAsax</p>
</blockquote>

<p>Why am i getting an error? I've been trying to figure this out. NOTE: this is a website project not a web app.</p>

<p>Thanks guys! </p>
