| 发表于:2007-11-02 21:40:18 楼主 |
using system.reflection; using system.runtime.compilerservices; // // general information about an assembly is controlled through the following // set of attributes. change these attribute values to modify the information // associated with an assembly. // [assembly: assemblytitle("")] [assembly: assemblydescription("")] [assembly: assemblyconfiguration("")] [assembly: assemblycompany("")] [assembly: assemblyproduct("")] [assembly: assemblycopyright("")] [assembly: assemblytrademark("")] [assembly: assemblyculture("")] // // version information for an assembly consists of the following four values: // // major version // minor version // build number // revision // // you can specify all the values or you can default the revision and build numbers // by using the '*' as shown below: [assembly: assemblyversion("1.0.*")] // // in order to sign your assembly you must specify a key to use. refer to the // microsoft .net framework documentation for more information on assembly signing. // // use the attributes below to control which key is used for signing. // // notes: // (*) if no key is specified, the assembly is not signed. // (*) keyname refers to a key that has been installed in the crypto service // provider (csp) on your machine. keyfile refers to a file which contains // a key. // (*) if the keyfile and the keyname values are both specified, the // following processing occurs: // (1) if the keyname can be found in the csp, that key is used. // (2) if the keyname does not exist and the keyfile does exist, the key // in the keyfile is installed into the csp and used. // (*) in order to create a keyfile, you can use the sn.exe (strong name) utility. // when specifying the keyfile, the location of the keyfile should be // relative to the project output directory which is // %project directory%\obj\ <configuration> . for example, if your keyfile is // located in the project directory, you would specify the assemblykeyfile // attribute as [assembly: assemblykeyfile("..\\..\\mykey.snk")] // (*) delay signing is an advanced option - see the microsoft .net framework // documentation for more information on this. // [assembly: assemblydelaysign(false)] [assembly: assemblykeyfile("")] [assembly: assemblykeyname("")] |
|
|
|
|