My ASP.NET site doesn't find files located in different folders -


my website has many pages operate on data in database. since many procedures same, have put of these "general" functions inside (public partial) static class , saved in app_code folder suggested visual studio:

root  |  +-- app_code  |       |  |       +-- generalstuff.cs  |       |  |       +-- datastructure.cs  |  +-- default.aspx  |  +-- default.aspx.cs  |  +-- etc 

the problem whenever try use defined inside generalstuff class page doesn't compile because can't find class:

compiler error message: cs0103: name 'generalstuff' not exist in current context 

i can't use files saved in app_data folder. note works fine when running visual studio.

additional details: here's version i'm using:
- microsoft .net framework version:2.0.50727.3625;
- asp.net version:2.0.50727.3634;

any hints?

cheers

is class declaration decorated namespace? if so, need include reference namespace anywhere want use (use using namespace.sub syntax)


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -