Author: igorz
Date: 2007-01-04 08:45:29 -0500 (Thu, 04 Jan 2007)
New Revision: 70476

Modified:
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceView.cs
Log:
added TARGET_JVM def. 

Modified: 
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceView.cs
===================================================================
--- 
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceView.cs    
    2007-01-04 13:31:24 UTC (rev 70475)
+++ 
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceView.cs    
    2007-01-04 13:45:29 UTC (rev 70476)
@@ -505,6 +505,7 @@
                        if (type != null)
                                return type;
 
+#if !TARGET_JVM
                        IList tla;
                        if ((tla = BuildManager.TopLevelAssemblies) != null) {
                                foreach (Assembly asm in tla) {
@@ -515,7 +516,7 @@
                                                return type;
                                }
                        }
-                       
+#endif
                        if (!Directory.Exists (PrivateBinPath))
                                return null;
 

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

Reply via email to