I have a class located in the APP_CODE folder. It’s not recognized by Visual Studio as a type.
Here is a schematic:
Solution ->Web site project -->App_Code folder --->myBasePage.cs
myBasePage is not being I guess “compiled” into to a class/type.
Where do I change the build action?
you would need to add the using directive of the file’s namespace where you want to reference your class. Post the code and I can tell you exactly what to add if you like.
More than likely your namespace is MyBasePage
so in your code behind file that you are trying to reference your app_code class you would need to have,
using myBasePage;