Browse Source

2005-11-30 Chris Toshok <[email protected]>

	* CompilerCollection.cs: ugly hack to fix the
	2.0-without-config-2.0 case.  wrap this file in #if
	CONFIGURATION_2_0 as well as #if NET_2_0.
	
	* Compiler.cs: same.


svn path=/trunk/mcs/; revision=53738
Chris Toshok 20 years ago
parent
commit
85fcc25487

+ 8 - 0
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog

@@ -1,3 +1,11 @@
+2005-11-30  Chris Toshok  <[email protected]>
+
+	* CompilerCollection.cs: ugly hack to fix the
+	2.0-without-config-2.0 case.  wrap this file in #if
+	CONFIGURATION_2_0 as well as #if NET_2_0.
+	
+	* Compiler.cs: same.
+
 2005-11-28  Chris Toshok  <[email protected]>
 
 	* SessionStateSection.cs (CookieLess): correct the compat function

+ 2 - 2
mcs/class/System.Web/System.Web.Configuration_2.0/Compiler.cs

@@ -29,7 +29,7 @@
 //
 
 #if NET_2_0
-
+#if CONFIGURATION_2_0
 using System;
 using System.CodeDom.Compiler;
 using System.ComponentModel;
@@ -132,5 +132,5 @@ namespace System.Web.Configuration
 #endregion
 	}
 }
-
+#endif
 #endif

+ 2 - 1
mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs

@@ -29,6 +29,7 @@
 //
 
 #if NET_2_0
+#if CONFIGURATION_2_0
 
 using System;
 using System.Configuration;
@@ -118,5 +119,5 @@ namespace System.Web.Configuration
 		}
 	}
 }
-
+#endif
 #endif