[Mono-bugs] [Bug 76818][Maj] New - Master pages with CodePage don't properly use partial classes (asp.net 2.0)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 24 14:15:03 EST 2005

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 ck at carlo-kok.com.


--- shadow/76818	2005-11-24 14:15:03.000000000 -0500
+++ shadow/76818.tmp.5316	2005-11-24 14:15:03.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 76818
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: ck at carlo-kok.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Master pages with CodePage don't properly use partial classes (asp.net 2.0)
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When using a masterpage with a CodeFile="MasterPage.master.cs" it should
+create a partial class of MasterPage.master and MasterPage.master.cs. The
+situation now is that the .master file cannot access the fields of the .cs
+Steps to reproduce the problem:
+1. extract and put attached 2.0 project in a directory
+2. Run xsp2 on it
+3. go to the Default.aspx
+Actual Results:
+  Description: Error compiling a resource required to service this request.   
+  Review your source file and modify it to fix this error.
+  Error message:   
+  ...\temp-aspnet-0\f251aa4c\88564.0.cs(99,28) : error CS0117:
+`ASP.MasterPage_master' does not contain a definition for `Data'
+Expected Results:
+A compiled page with "Data: Bleh"
+How often does this happen? 
+Additional Information:
+See attached .zip file

More information about the mono-bugs mailing list