Author: mhabersack
Date: 2007-04-30 04:49:43 -0400 (Mon, 30 Apr 2007)
New Revision: 76483

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
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: trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs        
2007-04-30 08:48:14 UTC (rev 76482)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs        
2007-04-30 08:49:43 UTC (rev 76483)
@@ -252,7 +252,7 @@
                                }
                        }
 
-                       if (knownfiles.Count == 0 && unknownfiles.Count == 0)
+                       if (knownfiles.Count == 0 && unknownfiles.Count == 0 && 
units.Count == 0)
                                return;
                        
                        outputAssemblyName = 
(string)FileUtils.CreateTemporaryFile (

Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-04-30 
08:48:14 UTC (rev 76482)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-04-30 
08:49:43 UTC (rev 76483)
@@ -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