Hi everyone,
I've the some annoyng problem....
Every time I have an upgrade to publish is a nightmare...
my "strange" WebUC is in the "admin" subfolder and in the bin folder I have the extra dll "App_Web_adminmenu.ascx.xxxxxx.dll" and it is the only dll that is named in this way.
I have found a solution that sometimes works...
After having built the solution, in the pre-compiled site the page that gives me the problem has:
priccopricco
Member
83 Points
49 Posts
Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is...
Mar 30, 2006 03:00 PM|LINK
I've the some annoyng problem....
Every time I have an upgrade to publish is a nightmare...
my "strange" WebUC is in the "admin" subfolder and in the bin folder I have the extra dll "App_Web_adminmenu.ascx.xxxxxx.dll" and it is the only dll that is named in this way.
I have found a solution that sometimes works...
After having built the solution, in the pre-compiled site the page that gives me the problem has:
<%@ Register Src="../admin/adminMenu.ascx" TagName="adminMenu" TagPrefix="uc2" %>
and the line that thrown the error:
<uc2:adminMenu ID="AdminMenu1" runat="server" />
The solution that sometimes work is to give to the UserControl ID the same name of the "TagName" or removing the ID; this pieces of code work:
<uc2:adminMenu ID="adminMenu" runat="server" />
OR
<uc2:adminMenu runat="server" />
I hope this workaround should work for you too..
Bye!
PS: SOrry for my bad english...