2009-10-02 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Fri, 2 Oct 2009 11:38:48 +0000 (11:38 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 2 Oct 2009 11:38:48 +0000 (11:38 -0000)
* build/common.cs.in: Disabled 1.x only profiles.

svn path=/trunk/mcs/; revision=143280

mcs/build/ChangeLog
mcs/build/common/Consts.cs.in

index 003d56ded180059abbab67f024cf692712df54dd..2555f5490a3fa28dfbacd2382285f7344a31b698 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-02  Marek Safar  <marek.safar@gmail.com>
+
+       * build/common.cs.in: Disabled 1.x only profiles.
+
 2009-10-02  Marek Safar  <marek.safar@gmail.com>
 
        * profiles/net_2_0_bootstrap.make: Make it tools profile only.
index 341a4ea3f5b7c0a368c85e79421d0aec049781c2..1e9df16946170a8560be0c69b5de08b51c1b1fe9 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-internal
-#if NET_2_0
-       static
-#else
-       sealed
-#endif
-       class Consts
+static class Consts
 {
-#if !NET_2_0
-       private Consts ()
-       {
-       }
-#endif
-
        //
        // Use these assembly version constants to make code more maintainable.
        //
@@ -81,17 +69,9 @@ internal
        public const string FxFileVersion = "2.0.50727.1433";
        public const string VsFileVersion = "8.0.50727.1433";
 #elif NET_1_1
-       // Versions of .NET Framework 1.1 SP1
-       public const string FxVersion = "1.0.5000.0";
-       public const string VsVersion = "7.0.5000.0";
-       public const string FxFileVersion = "1.1.4322.2032";
-       public const string VsFileVersion = "7.10.6001.4";
+       #error Profile NET_1_1 is not supported.
 #elif NET_1_0
-       // Versions of .NET Framework 1.0 SP3
-       public const string FxVersion = "1.0.3300.0";
-       public const string VsVersion = "7.0.3300.0";
-       public const string FxFileVersion = "1.0.3705.6018";
-       public const string VsFileVersion = "7.0.9951.0";
+       #error Profile NET_1_0 is not supported.
 #else
 #error No profile symbols defined.
 #endif