Author: igorz
Date: 2007-07-05 07:07:34 -0400 (Thu, 05 Jul 2007)
New Revision: 81380

Modified:
   trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
Log:
consider section 'system.web/deployment' is not supported for TARGET_J2EE

Modified: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
===================================================================
--- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs        
2007-07-05 11:07:03 UTC (rev 81379)
+++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs        
2007-07-05 11:07:34 UTC (rev 81380)
@@ -229,8 +229,12 @@
 
                bool IsDeploymentRetail {
                        get {
+#if TARGET_J2EE
+                               return false;
+#else
                                DeploymentSection deployment = 
(DeploymentSection) WebConfigurationManager.GetSection 
("system.web/deployment");
                                return deployment.Retail;
+#endif
                        }
                }
 

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

Reply via email to