In Visual Studio we have experienced a problem where a CSharp class created in the "App_Code" directory cannot be accessed in the code, despite the class being set as public.
In Visual Studio 2010, when creating a new class, by default, it's "Build Action" is set to "Content" instead of "Compile". This will mean that the class and it's methods will not be accessible in the code. Change the "Build Action" to "Compile" to fix this:

|
© 2009 Added Value Applications
|

