annotate AssemblyInfo.cs @ 416:c70973b65090

Fixes #94: Loading files is too slow * Check file extensions to cut down on false-positive file loads. NOTE: This solution isn't ideal, but SharpZipLib has a FIXME in that their scan will be slow on non-zips.
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Sep 2011 20:43:44 +0100
parents cd657faa0c05
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
104
2f3cafb69799 Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents: 82
diff changeset
1 // This file (AssemblyInfo.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2007, 2008, 2009 IBBoard
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
2 //
104
2f3cafb69799 Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents: 82
diff changeset
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
2f3cafb69799 Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents: 82
diff changeset
4
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
5 using System.Reflection;
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
6 using System.Runtime.CompilerServices;
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
7
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
8 //
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
9 // General Information about an assembly is controlled through the following
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
10 // set of attributes. Change these attribute values to modify the information
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
11 // associated with an assembly.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
12 //
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
13 [assembly: AssemblyTitle("WarFoundry API")]
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
14 [assembly: AssemblyDescription("The API for the WarFoundry army building application")]
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
15 [assembly: AssemblyConfiguration("")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
16 [assembly: AssemblyCompany("")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
17 [assembly: AssemblyProduct("IBBoard.WarFoundry.API")]
214
1b718b67f7f6 Re #179: Make sure that translations are used throughout UI
IBBoard <dev@ibboard.co.uk>
parents: 140
diff changeset
18 [assembly: AssemblyCopyright("IBBoard 2007, 2008, 2009")]
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
19 [assembly: AssemblyTrademark("")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
20 [assembly: AssemblyCulture("")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
21
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
22 //
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
23 // Version information for an assembly consists of the following four values:
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
24 //
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
25 // Major Version
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
26 // Minor Version
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
27 // Build Number
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
28 // Revision
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
29 //
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
30 // You can specify all the values or you can default the Revision and Build Numbers
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
31 // by using the '*' as shown below:
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
32
283
cd657faa0c05 * Merge branch into trunk (branch contained some fixes that should have been made on trunk)
IBBoard <dev@ibboard.co.uk>
parents: 235
diff changeset
33 [assembly: AssemblyVersion("0.1.0.*")]
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
34
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
35 //
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
36 // In order to sign your assembly you must specify a key to use. Refer to the
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
37 // Microsoft .NET Framework documentation for more information on assembly signing.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
38 //
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
39 // Use the attributes below to control which key is used for signing.
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
40 //
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
41 // Notes:
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
42 // (*) If no key is specified, the assembly is not signed.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
43 // (*) KeyName refers to a key that has been installed in the Crypto Service
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
44 // Provider (CSP) on your machine. KeyFile refers to a file which contains
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
45 // a key.
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
46 // (*) If the KeyFile and the KeyName values are both specified, the
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
47 // following processing occurs:
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
48 // (1) If the KeyName can be found in the CSP, that key is used.
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
49 // (2) If the KeyName does not exist and the KeyFile does exist, the key
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
50 // in the KeyFile is installed into the CSP and used.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
51 // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
52 // When specifying the KeyFile, the location of the KeyFile should be
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
53 // relative to the project output directory which is
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
54 // %Project Directory%\obj\<configuration>. For example, if your KeyFile is
235
0ebb1b80a2bd * Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
IBBoard <dev@ibboard.co.uk>
parents: 214
diff changeset
55 // located in the project directory, you would specify the AssemblyKeyFile
82
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
56 // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
57 // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
58 // documentation for more information on this.
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
59 //
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
60 [assembly: AssemblyDelaySign(false)]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
61 [assembly: AssemblyKeyFile("")]
3ea0ab04352b * Fix line terminators
IBBoard <dev@ibboard.co.uk>
parents: 15
diff changeset
62 [assembly: AssemblyKeyName("")]