Reputation: 109
In my code behind I cannot access class code. Only classes under top App_Code is available.
How can I access code under second App_Code? I tried to add same namespace for page and class, but this does not help.
Upvotes: 1
Views: 1152
Reputation: 11320
You must put all class code inside the App_Code
folder from the root folder. One trick would be to create a Test
folder inside the main App_Code
folder. You are allowed to put as many subfolders as you need.
https://msdn.microsoft.com/en-us/library/t990ks23(v=vs.140).aspx
Upvotes: 2