c# - The type or namespace name 'GetAdminMasterPage' could not be found -
i've been testing example code here http://mywsat.codeplex.com/ , trying move project existing project i've built.
i've copied of files , folders project following error repeated many times pages containing : getadminmasterpage
the type or namespace name 'getadminmasterpage' not found (are missing using directive or assembly reference?)
the example code behind in 1 of pages is
using system; public partial class admin_admin_edit_css : getadminmasterpage { protected void page_load(object sender, eventargs e) { } }
which assume means getadminmasterpage
inherited? of folders , classes have been copied across , getadminmasterpage.cs
located in app_code/class/getadminmasterpage.cs. code above same in mywsat doesn't give error.
i've copied web.config file across hasn't fixed error.
please can advise on how fix this?
update:
if copy of files, include in project works okay. select folders/files , select "include in project" error.
image1: files copied, show files - builds , runs without error
image2: files copied, show files, include in project - gives error the type or namespace name 'getadminmasterpage' not found (are missing using directive or assembly reference?)
you have copied that's ok, still have include namespace in file getadminmasterpage
class.. see in namespace defined , include after
using system; //using getadminmasterpage - class namespace
its correct there in app_code/class/getadminmasterpage.cs
, see namespace under defined
Comments
Post a Comment