AI OnAI Off
Try deleting the designer file, then right-click your .ascx file and choose "Convert to Web Application". This will create a new designer file for you (or give you a more informative error message).
Hope this helps.
Frederik
<%@ControlLanguage="c#"AutoEventWireup="false"Codebehind="NewTopMenu.ascx.cs"Inherits="Templates.Intra.NewTopMenu"TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@RegisterTagPrefix="EPiServer"Namespace="EPiServer.Web.WebControls"Assembly="EPiServer.Web.WebControls"%>
<EPiServer:MenuListrunat="server"ID="MenuListControl"PageLink='<%#MenuRoot%>'>
<HEADERTEMPLATE><ul></HEADERTEMPLATE>
<ITEMTEMPLATE><li><EPiServer:Propertyid="Property1"runat="server"PropertyName="PageLink"/></li></ITEMTEMPLATE>
<FOOTERTEMPLATE></ul></FOOTERTEMPLATE>
When I switch to Design mode (VS2008) I have got the following erro message:
Failed to create designer 'EPiServer.Web.WebControls.MenuList', EpiServer.Web.WebControls, Version=6.1.379.0...