Unable to call App_Code class from a code-behind

Solution 1:

Change your class' Build Action to Compile.

enter image description here