All pastes #11416 Raw Edit

Unnamed

public text v1 · immutable
#11416 ·published 2005-05-10 16:32 UTC
rendered paste body
Index: System.Web.UI/TemplateParser.cs
===================================================================
--- System.Web.UI/TemplateParser.cs     (revision 44304)
+++ System.Web.UI/TemplateParser.cs     (working copy)
@@ -394,6 +394,10 @@
                        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);