Author: mhabersack
Date: 2007-04-30 04:55:31 -0400 (Mon, 30 Apr 2007)
New Revision: 76484

Modified:
   
branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
   branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
Backport of r76483

2007-04-30  Marek Habersack  <[EMAIL PROTECTED]>

        * AppCodeCompiler.cs: support for cases when there exists a custom
        profile class but there is no App_Code directory or it's
        empty. Fixes bug #81489. 


Modified: 
branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
===================================================================
--- 
branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
  2007-04-30 08:49:43 UTC (rev 76483)
+++ 
branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
  2007-04-30 08:55:31 UTC (rev 76484)
@@ -252,7 +252,7 @@
                                }
                        }
 
-                       if (!known && !unknown)
+                       if (knownfiles.Count == 0 && unknownfiles.Count == 0 && 
units.Count == 0)
                                return;
                        
                        outputAssemblyName = 
(string)FileUtils.CreateTemporaryFile (

Modified: 
branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/ChangeLog   
2007-04-30 08:49:43 UTC (rev 76483)
+++ branches/mono-1-2-4/mcs/class/System.Web/System.Web.Compilation/ChangeLog   
2007-04-30 08:55:31 UTC (rev 76484)
@@ -1,5 +1,9 @@
 2007-04-30  Marek Habersack  <[EMAIL PROTECTED]>
 
+        * AppCodeCompiler.cs: support for cases when there exists a custom
+        profile class but there is no App_Code directory or it's
+        empty. Fixes bug #81489. 
+
        * TemplateControlCompiler.cs: fix generation of code for
        declarative attribute assignments of the form Font-Size="small"
        (i.e. when a font size is assigned a symbolic, relative size

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to