I am trying to make dynamic menus which will fetch Menus from the database rather than editing the front end of the software . The project was going fine till the time i clicked “Publish Website” button in MS visual Studio 2010 and am getting this error since
"\DynamicMenu\Site.Master(1): Build (web): Could not load type 'DynamicMenu.SiteMaster'"
Please Help
Thanks.
One cause I can think of is that, you have marked your Site.Master.cs file as a content file.
It should have the build action as Compile.