| 1 | /******************************************************************************
|
|---|
| 2 | * $Id: AssemblyInfo.cs 10129 2010-05-02 12:02:51Z tamas $
|
|---|
| 3 | *
|
|---|
| 4 | * Project: MapServer
|
|---|
| 5 | * Purpose: MapScript CSharp Assembly Information
|
|---|
| 6 | * Author: Tamas Szekeres, szekerest@gmail.com
|
|---|
| 7 | *
|
|---|
| 8 | ******************************************************************************
|
|---|
| 9 | * Copyright (c) 1996-2008 Regents of the University of Minnesota.
|
|---|
| 10 | *
|
|---|
| 11 | * Permission is hereby granted, free of charge, to any person obtaining a
|
|---|
| 12 | * copy of this software and associated documentation files (the "Software"),
|
|---|
| 13 | * to deal in the Software without restriction, including without limitation
|
|---|
| 14 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|---|
| 15 | * and/or sell copies of the Software, and to permit persons to whom the
|
|---|
| 16 | * Software is furnished to do so, subject to the following conditions:
|
|---|
| 17 | *
|
|---|
| 18 | * The above copyright notice and this permission notice shall be included in
|
|---|
| 19 | * all copies of this Software or works derived from this Software.
|
|---|
| 20 | *
|
|---|
| 21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|---|
| 22 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|---|
| 23 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|---|
| 24 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|---|
| 25 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|---|
| 26 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|---|
| 27 | * DEALINGS IN THE SOFTWARE.
|
|---|
| 28 | *****************************************************************************/
|
|---|
| 29 |
|
|---|
| 30 | using System.Reflection;
|
|---|
| 31 | using System.Runtime.CompilerServices;
|
|---|
| 32 | using System.Security;
|
|---|
| 33 |
|
|---|
| 34 | //
|
|---|
| 35 | // General Information about an assembly is controlled through the following
|
|---|
| 36 | // set of attributes. Change these attribute values to modify the information
|
|---|
| 37 | // associated with an assembly.
|
|---|
| 38 | //
|
|---|
| 39 | [assembly: AssemblyTitle("mapscript")]
|
|---|
| 40 | [assembly: AssemblyDescription("MapScript C# Library")]
|
|---|
| 41 | [assembly: AssemblyConfiguration("")]
|
|---|
| 42 | [assembly: AssemblyCompany("")]
|
|---|
| 43 | [assembly: AssemblyProduct("")]
|
|---|
| 44 | [assembly: AssemblyCopyright("")]
|
|---|
| 45 | [assembly: AssemblyTrademark("")]
|
|---|
| 46 | [assembly: AssemblyCulture("")]
|
|---|
| 47 |
|
|---|
| 48 | //
|
|---|
| 49 | // Version information for an assembly consists of the following four values:
|
|---|
| 50 | //
|
|---|
| 51 | // Major Version
|
|---|
| 52 | // Minor Version
|
|---|
| 53 | // Build Number
|
|---|
| 54 | // Revision
|
|---|
| 55 | //
|
|---|
| 56 | // You can specify all the values or you can default the Revision and Build Numbers
|
|---|
| 57 | // by using the '*' as shown below:
|
|---|
| 58 |
|
|---|
| 59 | [assembly: AssemblyVersion("1.0.*")]
|
|---|
| 60 |
|
|---|
| 61 | //
|
|---|
| 62 | // In order to sign your assembly you must specify a key to use. Refer to the
|
|---|
| 63 | // Microsoft .NET Framework documentation for more information on assembly signing.
|
|---|
| 64 | //
|
|---|
| 65 | // Use the attributes below to control which key is used for signing.
|
|---|
| 66 | //
|
|---|
| 67 | // Notes:
|
|---|
| 68 | // (*) If no key is specified, the assembly is not signed.
|
|---|
| 69 | // (*) KeyName refers to a key that has been installed in the Crypto Service
|
|---|
| 70 | // Provider (CSP) on your machine. KeyFile refers to a file which contains
|
|---|
| 71 | // a key.
|
|---|
| 72 | // (*) If the KeyFile and the KeyName values are both specified, the
|
|---|
| 73 | // following processing occurs:
|
|---|
| 74 | // (1) If the KeyName can be found in the CSP, that key is used.
|
|---|
| 75 | // (2) If the KeyName does not exist and the KeyFile does exist, the key
|
|---|
| 76 | // in the KeyFile is installed into the CSP and used.
|
|---|
| 77 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
|---|
| 78 | // When specifying the KeyFile, the location of the KeyFile should be
|
|---|
| 79 | // relative to the project output directory which is
|
|---|
| 80 | // %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
|---|
| 81 | // located in the project directory, you would specify the AssemblyKeyFile
|
|---|
| 82 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
|---|
| 83 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
|---|
| 84 | // documentation for more information on this.
|
|---|
| 85 | //
|
|---|
| 86 | [assembly: AssemblyDelaySign(false)]
|
|---|
| 87 | [assembly: AssemblyKeyFile("mapscript.snk")]
|
|---|
| 88 | [assembly: AssemblyKeyName("")]
|
|---|
| 89 |
|
|---|
| 90 | // The AllowPartiallyTrustedCallersAttribute requires the assembly to be signed with a strong name key.
|
|---|
| 91 | // This attribute is necessary since the control is called by either an intranet or Internet
|
|---|
| 92 | // Web page that should be running under restricted permissions.
|
|---|
| 93 | [assembly: AllowPartiallyTrustedCallers]
|
|---|
| 94 |
|
|---|
| 95 | // Use the .NET Framework 2.0 transparency rules (level 1 transparency) as default
|
|---|
| 96 | #if (CLR4)
|
|---|
| 97 | [assembly: SecurityRules(SecurityRuleSet.Level1)]
|
|---|
| 98 | #endif |
|---|