Unable to call App_Code class from a code-behind

前端 未结 1 973
刺人心
刺人心 2020-11-30 09:52

I have a class in a file that\'s in the \"App_Code\" folder. I\'m able to use this in an \"aspx\" file but not from a code-behind file. How do I make it visible to a code-be

相关标签:
1条回答
  • 2020-11-30 10:36

    Change your class' Build Action to Compile.

    enter image description here

    0 讨论(0)
提交回复
热议问题