Hi Igor,
This problem can happen in Visual Studio.
Here is what/why it happens:
I've updated the skins we ship in layout.master from
from
<asp:Panel id="divLeft" runat="server"
to
<portal:LayoutPanel id="divLeft" runat="server"
but in the code behind /App_MasterPages/layout.master.cs I kept the control declaration as <asp:Panel so it would not break existing skins
then if you open in VS a layout.master file that does have this:
<portal:LayoutPanel id="divLeft" runat="server"
then VS updates the control declarations in /App_MasterPages/layout.master.designer.cs to <portal:LayoutPanel
so then when you try to use a skin that still has <asp:Panel id="divLeft" it causes this error
I can solve this problem, I will remove the layout.master.designer.cs file and move only the needed control declarations into layout.master.cs, that way VS will not be able to make changes that cause this error. I will push this change to the default branch of our repository in a few days, I have to wait because I have some other unfinished work in my branch that I'm not ready to push to the default branch.
But, in the meantime, anytime you get that error you can solve it be reverting the file /App_MasterPages/layout.designer.cs then rebuild the mojoPortal.Web project
Thanks,
Joe