Hi Peter,
Thanks so much for your reply. I'm really stuck on this. (And relatively new to coding).
I've actually taken the files off another server (where it was working fine) and trying to re-create it in visual studio. But I'm not finding it easy!
Sorry for stupid question, but if the DefaultLayoutMain.master.cs file contains the namespace, do I still have to include it as 'using'?
My DefaultLayoutMain.master.cs file starts (after all the other 'usings') with:
namespace StockHill.Web.MasterPages
{
public partial class DefaultLayoutMain : System.Web.UI.MasterPage
{
This is then one of the cs files (default.aspx.designer.cs) I'm getting the error on:
namespace StockHill.Web {
public partial class Default {
/// some code, but below is where I get the error....
public new StockHill.Web.MasterPages.DefaultLayoutMain Master {
get {
return ((StockHill.Web.MasterPages.DefaultLayoutMain)(base.Master));
}
}
}
}
Any help greatly appreciated! 