Home | History | Annotate | Line # | Download | only in DotZLib
      1      1.1  christos using System.Reflection;
      2      1.1  christos using System.Runtime.CompilerServices;
      3      1.1  christos 
      4      1.1  christos //
      5  1.1.1.2  christos // General Information about an assembly is controlled through the following
      6      1.1  christos // set of attributes. Change these attribute values to modify the information
      7      1.1  christos // associated with an assembly.
      8      1.1  christos //
      9      1.1  christos [assembly: AssemblyTitle("DotZLib")]
     10      1.1  christos [assembly: AssemblyDescription(".Net bindings for ZLib compression dll 1.2.x")]
     11      1.1  christos [assembly: AssemblyConfiguration("")]
     12      1.1  christos [assembly: AssemblyCompany("Henrik Ravn")]
     13      1.1  christos [assembly: AssemblyProduct("")]
     14      1.1  christos [assembly: AssemblyCopyright("(c) 2004 by Henrik Ravn")]
     15      1.1  christos [assembly: AssemblyTrademark("")]
     16  1.1.1.2  christos [assembly: AssemblyCulture("")]
     17      1.1  christos 
     18      1.1  christos //
     19      1.1  christos // Version information for an assembly consists of the following four values:
     20      1.1  christos //
     21      1.1  christos //      Major Version
     22  1.1.1.2  christos //      Minor Version
     23      1.1  christos //      Build Number
     24      1.1  christos //      Revision
     25      1.1  christos //
     26  1.1.1.2  christos // You can specify all the values or you can default the Revision and Build Numbers
     27      1.1  christos // by using the '*' as shown below:
     28      1.1  christos 
     29      1.1  christos [assembly: AssemblyVersion("1.0.*")]
     30      1.1  christos 
     31      1.1  christos //
     32  1.1.1.2  christos // In order to sign your assembly you must specify a key to use. Refer to the
     33      1.1  christos // Microsoft .NET Framework documentation for more information on assembly signing.
     34      1.1  christos //
     35  1.1.1.2  christos // Use the attributes below to control which key is used for signing.
     36      1.1  christos //
     37  1.1.1.2  christos // Notes:
     38      1.1  christos //   (*) If no key is specified, the assembly is not signed.
     39      1.1  christos //   (*) KeyName refers to a key that has been installed in the Crypto Service
     40      1.1  christos //       Provider (CSP) on your machine. KeyFile refers to a file which contains
     41      1.1  christos //       a key.
     42  1.1.1.2  christos //   (*) If the KeyFile and the KeyName values are both specified, the
     43      1.1  christos //       following processing occurs:
     44      1.1  christos //       (1) If the KeyName can be found in the CSP, that key is used.
     45  1.1.1.2  christos //       (2) If the KeyName does not exist and the KeyFile does exist, the key
     46      1.1  christos //           in the KeyFile is installed into the CSP and used.
     47      1.1  christos //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
     48      1.1  christos //       When specifying the KeyFile, the location of the KeyFile should be
     49      1.1  christos //       relative to the project output directory which is
     50      1.1  christos //       %Project Directory%\obj\<configuration>. For example, if your KeyFile is
     51  1.1.1.2  christos //       located in the project directory, you would specify the AssemblyKeyFile
     52      1.1  christos //       attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
     53      1.1  christos //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
     54      1.1  christos //       documentation for more information on this.
     55      1.1  christos //
     56      1.1  christos [assembly: AssemblyDelaySign(false)]
     57      1.1  christos [assembly: AssemblyKeyFile("")]
     58      1.1  christos [assembly: AssemblyKeyName("")]
     59