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