2009-05-22 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / build / common / Consts.cs.in
blob0978cb30f513e72a68b6d25f5cfb188b684b32b8
1 //
2 // Consts.cs.in
3 //
4 // Author:
5 // Kornél Pál <http://www.kornelpal.hu/>
6 //
7 // Copyright (C) 2005-2006 Kornél Pál
8 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 internal
32 #if NET_2_0
33 static
34 #else
35 sealed
36 #endif
37 class Consts
39 #if !NET_2_0
40 private Consts ()
43 #endif
46 // Use these assembly version constants to make code more maintainable.
49 public const string MonoVersion = "@MONO_VERSION@";
50 public const string MonoCompany = "MONO development team";
51 public const string MonoProduct = "MONO Common language infrastructure";
52 public const string MonoCopyright = "(c) various MONO Authors";
54 #if NET_3_5
55 // Versions of .NET Framework 3.5 RTM
56 public const string FxVersion = "3.5.0.0";
57 public const string FxFileVersion = "3.5.21022.8";
59 public const string VsVersion = "0.0.0.0"; // Useless ?
60 #elif NET_3_0
61 public const string FxVersion = "3.0.0.0";
62 public const string VsVersion = "8.0.0.0";
63 public const string FxFileVersion = "3.0.4506.648";
64 public const string VsFileVersion = "6.0.6001.17014";
65 #elif NET_2_1
66 // Versions of .NET Framework for SilverLight
67 public const string FxVersion = "2.0.5.0";
68 public const string VsVersion = "9.0.0.0"; // TODO:
69 public const string FxFileVersion = "2.0.31005.0";
70 public const string VsFileVersion = "9.0.50727.42"; // TODO:
71 #elif NET_2_0 || BOOTSTRAP_NET_2_0
72 // Versions of .NET Framework 2.0 RTM
73 public const string FxVersion = "2.0.0.0";
74 public const string VsVersion = "8.0.0.0";
75 public const string FxFileVersion = "2.0.50727.1433";
76 public const string VsFileVersion = "8.0.50727.1433";
77 #elif NET_1_1
78 // Versions of .NET Framework 1.1 SP1
79 public const string FxVersion = "1.0.5000.0";
80 public const string VsVersion = "7.0.5000.0";
81 public const string FxFileVersion = "1.1.4322.2032";
82 public const string VsFileVersion = "7.10.6001.4";
83 #elif NET_1_0
84 // Versions of .NET Framework 1.0 SP3
85 public const string FxVersion = "1.0.3300.0";
86 public const string VsVersion = "7.0.3300.0";
87 public const string FxFileVersion = "1.0.3705.6018";
88 public const string VsFileVersion = "7.0.9951.0";
89 #else
90 #error No profile symbols defined.
91 #endif
94 // Use these assembly name constants to make code more maintainable.
97 public const string AssemblyI18N = "I18N, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
98 public const string AssemblyMicrosoft_VisualStudio = "Microsoft.VisualStudio, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
99 #if NET_2_0
100 public const string AssemblyMicrosoft_VisualStudio_Web = "Microsoft.VisualStudio.Web, Version=" + VsVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
101 #endif
102 public const string AssemblyMicrosoft_VSDesigner = "Microsoft.VSDesigner, Version=" + VsVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
103 public const string AssemblyMono_Http = "Mono.Http, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
104 public const string AssemblyMono_Posix = "Mono.Posix, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
105 public const string AssemblyMono_Security = "Mono.Security, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
106 public const string AssemblyCorlib = "mscorlib, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
107 public const string AssemblySystem = "System, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
108 public const string AssemblySystem_Data = "System.Data, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
109 public const string AssemblySystem_Design = "System.Design, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
110 public const string AssemblySystem_DirectoryServices = "System.DirectoryServices, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
111 public const string AssemblySystem_Drawing = "System.Drawing, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
112 public const string AssemblySystem_Drawing_Design = "System.Drawing.Design, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
113 public const string AssemblySystem_Messaging = "System.Messaging, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
114 public const string AssemblySystem_Security = "System.Security, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
115 public const string AssemblySystem_ServiceProcess = "System.ServiceProcess, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
116 public const string AssemblySystem_Web = "System.Web, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
117 public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";