[Mono-bugs] [Bug 80051][Cri] Changed - App_Code compilation does not work in mono 1.2.1

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Nov 26 17:21:11 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 grendello at gmail.com.

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

--- shadow/80051	2006-11-26 06:05:24.000000000 -0500
+++ shadow/80051.tmp.12023	2006-11-26 17:21:11.000000000 -0500
@@ -109,6 +109,27 @@
 insgesamt 4
 drwxr-xr-x 2 dna dna  74 2006-11-26 10:40 .
 drwxr-xr-x 3 dna dna  21 2006-11-26 10:40 ..
 -rw-r--r-- 1 dna dna 511 2006-11-26 10:40 4c5a9130._0.cs
 -rw-r--r-- 1 dna dna   0 2006-11-26 10:40 4c5a9130.tmp
 -rw-r--r-- 1 dna dna   0 2006-11-26 10:40 App_Code.77c48e50.dll
+
+------- Additional Comments From grendello at gmail.com  2006-11-26 17:21 -------
+The diff attached below fixes the bug. The problem was that the 
+handler/service compiler was not looking for the type named in the 
+Class attribute in the top-level assemblies, but only in the 
+assemblies found in ~/bin. The diff also modifies the CachingCompiler 
+to account for the top-level assemblies. Gonzalo, please review and 
+let me know if I can commit the fix.
+
+Daniel, as for why ~/Bin doesn't work. *nix is case-sensitive and if 
+we want to avoid a performance hit, we need to limit the number of 
+checks for file names. We could load a list of directories in the 
+application root dir and then search the list case-insensitively, or 
+we could test if common names of a given folder exist (e.g. Bin, bin, 
+BIN - all of them would be the same on Windows, not so on *nix) - but 
+all that would give a huge performance hit. There is, however, a way 
+to make Mono case-insensitive (while paying the performance penalty) 
+by exporting the MONO_IOMAP=case environment variable (the variable 
+can also have other values, please see man mono(1))
+
+Hope that helps,


More information about the mono-bugs mailing list