[Mono-bugs] [Bug 81132][Nor] Changed - CodeFileBaseClass page directive not allowed for 2.0 site

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 24 11:57:49 EDT 2007


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 mmorano at mikeandwan.us.

http://bugzilla.ximian.com/show_bug.cgi?id=81132

--- shadow/81132	2007-03-21 17:58:21.000000000 -0500
+++ shadow/81132.tmp.21059	2007-03-24 10:57:48.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 81132
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: mhabersack at novell.com                            
 ReportedBy: mmorano at mikeandwan.us               
 QAContact: mono-bugs at ximian.com
@@ -37,6 +37,75 @@
 
 Thanks,
 Mike
 
 ------- Additional Comments From mhabersack at novell.com  2007-03-21 17:58 -------
 This bug has been closed in svn head, revisions 74734 and 74764
+
+------- Additional Comments From mmorano at mikeandwan.us  2007-03-24 10:57 -------
+Hi Marek,
+
+Thanks for the quick turnaround on this item, for basic primitives
+like strings, it seems to work perfectly.  
+
+However, when I tried to have a custom property, which is a custom
+enum, it does not seem to work.  Rather, I get the stack trace at the
+end of this report.  For my test, the enum lives in App_Code.
+
+
+Here is the stack trace:
+
+System.ArgumentException: Invalid Primitive Type: MyEnum. Only CLS
+compliant primitive types can be used. Consider using
+CodeObjectCreateExpression.
+  at System.CodeDom.Compiler.CodeGenerator.GeneratePrimitiveExpression
+(System.CodeDom.CodePrimitiveExpression e) [0x00000] 
+  at Mono.CSharp.CSharpCodeGenerator.GeneratePrimitiveExpression
+(System.CodeDom.CodePrimitiveExpression e) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateExpression
+(System.CodeDom.CodeExpression e) [0x00000] 
+  at Mono.CSharp.CSharpCodeGenerator.GenerateAssignStatement
+(System.CodeDom.CodeAssignStatement statement) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateStatement
+(System.CodeDom.CodeStatement s) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateStatements
+(System.CodeDom.CodeStatementCollection c) [0x00000] 
+  at Mono.CSharp.CSharpCodeGenerator.GenerateMethod
+(System.CodeDom.CodeMemberMethod method,
+System.CodeDom.CodeTypeDeclaration declaration) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateType
+(System.CodeDom.CodeTypeDeclaration type) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateTypes
+(System.CodeDom.CodeNamespace e) [0x00000] 
+  at System.CodeDom.Compiler.CodeGenerator.GenerateNamespace
+(System.CodeDom.CodeNamespace ns) [0x00000] 
+  at Mono.CSharp.CSharpCodeGenerator.GenerateCompileUnit
+(System.CodeDom.CodeCompileUnit compileUnit) [0x00000] 
+  at
+System.CodeDom.Compiler.CodeGenerator.System.CodeDom.Compiler.ICodeGenerator.GenerateCodeFromCompileUnit
+(System.CodeDom.CodeCompileUnit compileUnit, System.IO.TextWriter
+output, System.CodeDom.Compiler.CodeGeneratorOptions options) [0x00000] 
+  at Mono.CSharp.CSharpCodeCompiler.CompileFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
+  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
+  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit e) [0x00000] 
+  at System.Web.Compilation.CachingCompiler.Compile
+(System.Web.Compilation.BaseCompiler compiler) [0x00000] 
+  at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] 
+  at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] 
+  at System.Web.UI.PageParser.CompileIntoType () [0x00000] 
+  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
+  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
+virtualPath, System.String inputFile, System.Web.HttpContext context)
+[0x00000] 
+  at System.Web.UI.PageHandlerFactory.GetHandler
+(System.Web.HttpContext context, System.String requestType,
+System.String url, System.String path) [0x00000] 
+  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
+context) [0x00000] 
+  at System.Web.HttpApplication+<>c__CompilerGenerated3.MoveNext ()
+[0x00000] 


More information about the mono-bugs mailing list