Author: gonzalo
Date: 2006-06-14 20:26:17 -0400 (Wed, 14 Jun 2006)
New Revision: 61724
Modified:
trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs
Log:
2006-06-14 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* TemplateControlParser.cs: fix compilation caching when more than one
@control is compiled from source. Closes bug #78626.
Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2006-06-14 23:41:25 UTC
(rev 61723)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2006-06-15 00:26:17 UTC
(rev 61724)
@@ -1,5 +1,10 @@
2006-06-14 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+ * TemplateControlParser.cs: fix compilation caching when more than one
+ @control is compiled from source. Closes bug #78626.
+
+2006-06-14 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
* Page.cs: add the 2.0 Items property. Fixes bug #78467.
2006-06-14 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs
2006-06-14 23:41:25 UTC (rev 61723)
+++ trunk/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs
2006-06-15 00:26:17 UTC (rev 61724)
@@ -128,8 +128,13 @@
string vpath = UrlUtils.Combine
(BaseVirtualDir, src);
Type type = null;
+ AddDependency (realpath);
try {
- type =
UserControlParser.GetCompiledType (vpath, realpath, Dependencies, Context);
+ ArrayList other_deps = new ArrayList ();
+ type =
UserControlParser.GetCompiledType (vpath, realpath, other_deps, Context);
+ foreach (string s in other_deps) {
+ AddDependency (s);
+ }
} catch (ParseException pe) {
if (this is UserControlParser)
throw new ParseException
(Location, pe.Message, pe);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches