AssemblyInfo.cs revision 324c4644fee44b9898524c09511bd33c3f12e2df
1/*
2[The "BSD licence"]
3Copyright (c) 2005-2007 Kunle Odutola
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions
8are met:
91. Redistributions of source code MUST RETAIN the above copyright
10   notice, this list of conditions and the following disclaimer.
112. Redistributions in binary form MUST REPRODUCE the above copyright
12   notice, this list of conditions and the following disclaimer in
13   the documentation and/or other materials provided with the
14   distribution.
153. The name of the author may not be used to endorse or promote products
16   derived from this software without specific prior WRITTEN permission.
174. Unless explicitly state otherwise, any contribution intentionally
18   submitted for inclusion in this work to the copyright owner or licensor
19   shall be under the terms and conditions of this license, without any
20   additional terms or conditions.
21
22THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32*/
33
34
35using System.Reflection;
36using System.Runtime.CompilerServices;
37
38// General Information about an assembly is controlled through the following
39// set of attributes. Change these attribute values to modify the information
40// associated with an assembly.
41
42// TODO: Review the values of the assembly attributes
43
44[assembly: AssemblyTitle("ANTLR3.Runtime.NET")]
45[assembly: AssemblyDescription("ANTLR3 C# Runtime for .NET")]
46[assembly: AssemblyCompany("")]
47[assembly: AssemblyProduct("")]
48[assembly: AssemblyCopyright("Copyright (c) 2005-2007 Kunle Odutola, 2007-2009 Johannes Luber")]
49[assembly: AssemblyTrademark("")]
50[assembly: AssemblyCulture("")]
51
52// Allow the use of the assembly in medium trust for websites
53[assembly: System.Security.AllowPartiallyTrustedCallers]
54
55
56// Version information for an assembly consists of the following four values:
57//
58//      Major Version
59//      Minor Version
60//      Revision
61//      Build Number
62//
63// You can specify all the values or you can default the Revision and Build Numbers
64// by using the '*' as shown below:
65
66[assembly: AssemblyVersion("3.1.3.*")]
67
68//
69// In order to sign your assembly you must specify a key to use. Refer to the
70// Microsoft .NET Framework documentation for more information on assembly signing.
71//
72// Use the attributes below to control which key is used for signing.
73//
74// Notes:
75//   (*) If no key is specified, the assembly is not signed.
76//   (*) KeyName refers to a key that has been installed in the Crypto Service
77//       Provider (CSP) on your machine. KeyFile refers to a file which contains
78//       a key.
79//   (*) If the KeyFile and the KeyName values are both specified, the
80//       following processing occurs:
81//       (1) If the KeyName can be found in the CSP, that key is used.
82//       (2) If the KeyName does not exist and the KeyFile does exist, the key
83//           in the KeyFile is installed into the CSP and used.
84//   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
85//       When specifying the KeyFile, the location of the KeyFile should be
86//       relative to the project output directory which is
87//       %Project Directory%\obj\<configuration>. For example, if your KeyFile is
88//       located in the project directory, you would specify the AssemblyKeyFile
89//       attribute as [assembly: AssemblyKeyFile("..\..\mykey.snk")]
90//   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
91//       documentation for more information on this.
92//
93
94[assembly: AssemblyConfiguration("")]
95[assembly: AssemblyKeyName("")]
96
97#if STRONG_NAME
98// This strongly suggests that the build is a VS.NET build.
99[assembly: AssemblyDelaySign(false)]
100[assembly: AssemblyKeyFile("../../../Antlr3_KeyPair.snk")]
101#elif NANT_STRONGNAME
102// This strongly suggests that the build is a NANT build.
103[assembly: AssemblyDelaySign(false)]
104[assembly: AssemblyKeyFile("../Antlr3_KeyPair.snk")]
105#else
106// This should never happen as the assembly should always be strong named.
107[assembly: AssemblyDelaySign(false)]
108[assembly: AssemblyKeyFile("")]
109#endif
110
111
112