https://bugzilla.novell.com/show_bug.cgi?id=434931
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=434931#c59 Summary: XSP always compiles App_Code files with langversion of "ISO-2" Product: Mono: Class Libraries Version: 2.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Web AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] Found By: Community User Description of Problem: XSP will add the /langversion:ISO-2 switch to gmcs when compiling code files in the App_Code folder even if the project is set to use the "Default" (C# 3.0) langversion. Steps to reproduce the problem: 1. Create a simple ASP.NET web site with Mono 2.0 2. Add an App_Code folder and a file in it that uses C# 3.0 keywords or syntax 3. Server the application with XSP and visit the site Actual Results: Compilation error with the gmcs command showing a "/langversion:ISO-2" as a switch. Expected Results: No errors How often does this happen? Always Additional Information: This occurs because of line #59 in System/System.CodeDom.Compiler/CompilerCollection.cs (compiler.ProviderOptions ["CompilerVersion"] = "2.0";). The System.Web.Compilation.AppCodeCompiler uses the CodeDom without passing any language version information to the provider. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
