Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82285 --- shadow/82285 2007-08-01 17:34:52.000000000 -0400 +++ shadow/82285.tmp.7732 2007-08-01 17:34:52.000000000 -0400 @@ -0,0 +1,33 @@ +Bug#: 82285 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: FC6 +Status: NEW +Resolution: +Severity: +Priority: Major +Component: Sys.Web +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [REGRESSION] Registering more then two user controls leads to InvalidCastExc. + +Use this test case: + +index.aspx: +<%@ Page Language="C#" %> +<% @Register Tagprefix="hf" tagname="Test1" src="Test1.ascx" %> +<% @Register Tagprefix="hf" tagname="Test2" src="Test2.ascx" %> +<% @Register Tagprefix="hf" tagname="Test3" src="Test3.ascx" %> + +Test1.ascx == Test3.ascx == Test3.ascx: +<% @Control Language="C#" %> + +Request index.aspx and you'll get the exception. Remove one of the +"@Register"s from index.aspx and everything works. + +Commit 83071 to System.Web.Compilation/AspComponentFoundry.cs is to blame. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
