I have created a website in ASP.NET and have created a class and put it inside of the App_Code folder. However I cannot access this from my other pages. Does something need to be configured to allow this? I have made it work in previous projects, but not in this one, somehow.

namespace CLIck10.App_Code
{
    public static class Glob
    {
        ...
    }
}
up vote527down voteaccepted
+100

Right click on the .cs file in the App_Code folder and check its properties.

Make sure the "Build Action" is set to "Compile".