"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C# source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "Consts.cs":
6.10.0.104_vs_6.12.0.90.
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 //
9
10 //
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:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
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.
29 //
30
31 static partial class Consts
32 {
33 public const string MonoCorlibVersion = "1A5E0066-58DC-428A-B21C-0AD6CDAE2789";
34 }
35
36 #if !NETCORE
37
38 static partial class Consts
39 {
40 //
41 // Use these assembly version constants to make code more maintainable.
42 //
43
44 public const string MonoVersion = "6.12.0.122";
45 public const string MonoCompany = "Mono development team";
46 public const string MonoProduct = "Mono Common Language Infrastructure";
47 public const string MonoCopyright = "(c) Various Mono authors";
48
49 #if MOBILE
50 // Versions of .NET Framework for Silverlight 4.0
51 public const string FxVersion = "2.0.5.0";
52 public const string VsVersion = "9.0.0.0"; // unused, but needed for compilation
53 public const string FxFileVersion = "4.0.50524.0";
54 public const string EnvironmentVersion = FxFileVersion;
55
56 public const string VsFileVersion = "9.0.50727.42"; // unused, but needed for compilation
57 #elif NET_4_6
58 public const string FxVersion = "4.0.0.0";
59 public const string FxFileVersion = "4.6.57.0";
60 public const string EnvironmentVersion = "4.0.30319.42000";
61
62 public const string VsVersion = "0.0.0.0"; // Useless ?
63 public const string VsFileVersion = "11.0.0.0"; // TODO:
64 #elif NET_4_5
65 public const string FxVersion = "4.0.0.0";
66 public const string FxFileVersion = "4.0.30319.17020";
67 public const string EnvironmentVersion = FxFileVersion;
68
69 public const string VsVersion = "0.0.0.0"; // Useless ?
70 public const string VsFileVersion = "11.0.0.0"; // TODO:
71 #elif NETCORE
72 public const string FxVersion = "";
73 public const string FxFileVersion = "";
74 public const string EnvironmentVersion = FxFileVersion;
75
76 public const string VsVersion = "";
77 public const string VsFileVersion = "";
78 #elif NET_4_0
79 #error Profile NET_4_0 is not supported.
80 #elif NET_3_5
81 #error Profile NET_3_5 is not supported.
82 #elif NET_3_0
83 #error Profile NET_3_0 is not supported.
84 #elif NET_2_0
85 #error Profile NET_2_0 is not supported.
86 #elif NET_1_1
87 #error Profile NET_1_1 is not supported.
88 #elif NET_1_0
89 #error Profile NET_1_0 is not supported.
90 #else
91 #error No profile symbols defined.
92 #endif
93
94 #if MOBILE
95 const string PublicKeyToken = "7cec85d7bea7798e";
96 #else
97 const string PublicKeyToken = "b77a5c561934e089";
98 #endif
99
100 //
101 // Use these assembly name constants to make code more maintainable.
102 //
103
104 public const string AssemblyI18N = "I18N, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
105 public const string AssemblyMicrosoft_JScript = "Microsoft.JScript, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
106 public const string AssemblyMicrosoft_VisualStudio = "Microsoft.VisualStudio, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
107 public const string AssemblyMicrosoft_VisualStudio_Web = "Microsoft.VisualStudio.Web, Version=" + VsVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
108 public const string AssemblyMicrosoft_VSDesigner = "Microsoft.VSDesigner, Version=" + VsVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
109 public const string AssemblyMono_Http = "Mono.Http, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
110 public const string AssemblyMono_Posix = "Mono.Posix, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
111 public const string AssemblyMono_Security = "Mono.Security, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
112 public const string AssemblyMono_Messaging_RabbitMQ = "Mono.Messaging.RabbitMQ, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=0738eb9f132ed756";
113 public const string AssemblyCorlib = "mscorlib, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=" + PublicKeyToken;
114 public const string AssemblySystem = "System, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=" + PublicKeyToken;
115 public const string AssemblySystem_Data = "System.Data, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
116 public const string AssemblySystem_Design = "System.Design, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
117 public const string AssemblySystem_DirectoryServices = "System.DirectoryServices, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
118 public const string AssemblySystem_Drawing = "System.Drawing, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
119 public const string AssemblySystem_Drawing_Design = "System.Drawing.Design, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
120 public const string AssemblySystem_Messaging = "System.Messaging, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
121 public const string AssemblySystem_Security = "System.Security, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
122 public const string AssemblySystem_ServiceProcess = "System.ServiceProcess, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
123 public const string AssemblySystem_Web = "System.Web, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
124 public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
125 public const string AssemblySystem_2_0 = "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
126 public const string AssemblySystemCore_3_5 = "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
127 public const string AssemblySystem_Core = "System.Core, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=" + PublicKeyToken;
128 public const string WindowsBase_3_0 = "WindowsBase, Version=3.0.0.0, PublicKeyToken=31bf3856ad364e35";
129 public const string AssemblyWindowsBase = "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
130 public const string AssemblyPresentationCore_3_5 = "PresentationCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
131 public const string AssemblyPresentationCore_4_0 = "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
132 public const string AssemblyPresentationFramework_3_5 = "PresentationFramework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
133 public const string AssemblySystemServiceModel_3_0 = "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
134 }
135
136 #endif