ifdef MSNET for mono-specific references
[mono.git] / mcs / tools / mono-xmltool / xmltool.cs
index 844576dac1722b04f86c0caa0e56e415a9612ec7..27cc1fad61792c25057f82515fabb4aa0bbb24fd 100644 (file)
@@ -5,7 +5,7 @@ using System.Xml;
 using System.Xml.Schema;
 using System.Xml.Xsl;
 using System.Xml.XPath;
-#if !TARGET_JVM
+#if !TARGET_JVM && !MSNET
 using Commons.Xml.Nvdl;
 using Commons.Xml.Relaxng;
 using Commons.Xml.Relaxng.Rnc;
@@ -63,7 +63,7 @@ environment variable that affects behavior:
                        case "--help":
                                Usage ();
                                return;
-#if !TARGET_JVM
+#if !TARGET_JVM && !MSNET
                        case "--validate":
                                ValidateAuto (args);
                                return;
@@ -92,7 +92,7 @@ environment variable that affects behavior:
                        }
                }
 
-#if !TARGET_JVM
+#if !TARGET_JVM && !MSNET
                static void ValidateAuto (string [] args)
                {
                        if (args.Length < 1) {