Преглед изворни кода

2005-05-09 Geoff Norotn <[email protected]>

	* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
	uses instead of codebehind.


svn path=/trunk/mcs/; revision=44333
Geoff Norton пре 20 година
родитељ
комит
d9cfac0a01

+ 5 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -1,3 +1,8 @@
+2005-05-09 Geoff Norotn <[email protected]>
+
+	* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
+	uses instead of codebehind.
+
 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
 
 	* Page.cs: as setting CurrentCulture is slow, don't set it if the

+ 4 - 0
mcs/class/System.Web/System.Web.UI/TemplateParser.cs

@@ -394,6 +394,10 @@ namespace System.Web.UI
 			atts.Remove ("CodeBehind");  // ignored
 			atts.Remove ("AspCompat"); // ignored
 
+#if NET_2_0
+			atts.Remove ("CodeFile"); // ignored
+#endif
+
 			debug = GetBool (atts, "Debug", true);
 			compilerOptions = GetString (atts, "CompilerOptions", "");
 			language = GetString (atts, "Language", CompilationConfig.DefaultLanguage);