[Mono-bugs] [Bug 79918][Wis] Changed - mono/asp.net passes to be compiled files as a command line argument to codedom provider

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 13 12:11:01 EST 2006


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.

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

--- shadow/79918	2006-11-13 12:03:50.000000000 -0500
+++ shadow/79918.tmp.18318	2006-11-13 12:11:01.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 79918
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: ck at carlo-kok.com               
@@ -22,6 +22,20 @@
 syntax is the same as what MCS uses. This is inconsistent with how asp.net
 on windows works which just passes the filename as a source file.
 
 ------- Additional Comments From gonzalo at ximian.com  2006-11-13 12:03 -------
 I don't understand what's the problem?
 Can you explain? What about a test case?
+
+------- Additional Comments From ck at carlo-kok.com  2006-11-13 12:11 -------
+The problem is that the ASP.NET classes pass the filename of the file
+to be compiled to the CodeDom provider different than .NET: Instead of
+passing the filen ames in the filenames parameters, it passes them in
+the compiler specific CompilerParameters.CompilerOptions. This is
+inconsistent with how it work on .NET where all filenames are passed
+in the filenames paraemter. 		
+
+This happen when writing a custom CodeCompiler descendent in the method:
+override public CompilerResults FromFileBatch(CompilerParameters
+options, string[] fileNames);
+
+


More information about the mono-bugs mailing list