123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- #region Apache License
- //
- // Licensed to the Apache Software Foundation (ASF) under one or more
- // contributor license agreements. See the NOTICE file distributed with
- // this work for additional information regarding copyright ownership.
- // The ASF licenses this file to you under the Apache License, Version 2.0
- // (the "License"); you may not use this file except in compliance with
- // the License. You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- //
- #endregion
- using System.Reflection;
- using System.Runtime.CompilerServices;
- #if (!SSCLI)
- //
- // log4net makes use of static methods which cannot be made com visible
- //
- [assembly: System.Runtime.InteropServices.ComVisible(false)]
- #endif
- //
- // log4net is CLS compliant
- //
- [assembly: System.CLSCompliant(true)]
- #if (!NETCF)
- //
- // If log4net is strongly named it still allows partially trusted callers
- //
- [assembly: System.Security.AllowPartiallyTrustedCallers]
- #endif
- #if (NET_4_0)
- //
- // Allows partial trust applications (e.g. ASP.NET shared hosting) on .NET 4.0 to work
- // given our implementation of ISerializable.
- //
- [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
- #endif
- //
- // 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.
- //
- #if (CLI_1_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.CLI 1.0")]
- [assembly: AssemblyTitle("Apache log4net for CLI 1.0 Compatible Frameworks")]
- #elif (NET_1_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 1.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 1.0")]
- #elif (NET_1_1)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 1.1")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 1.1")]
- #elif (NET_4_5)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.5")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.5")]
- #elif (NET_4_0)
- #if CLIENT_PROFILE
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.0 CP")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0 Client Profile")]
- #else
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0")]
- #endif // Client Profile
- #elif (NET_2_0)
- #if CLIENT_PROFILE
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 3.5 CP")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 3.5 Client Profile")]
- #else
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 2.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework 2.0")]
- #endif // Client Profile
- #elif (NETCF_1_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF 1.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 1.0")]
- #elif (NETCF_2_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF 2.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 2.0")]
- #elif (MONO_1_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 1.0")]
- [assembly: AssemblyTitle("Apache log4net for Mono 1.0")]
- #elif (MONO_2_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 2.0")]
- [assembly: AssemblyTitle("Apache log4net for Mono 2.0")]
- #elif (MONO_3_5)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 3.5")]
- [assembly: AssemblyTitle("Apache log4net for Mono 3.5")]
- #elif (MONO_4_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 4.0")]
- [assembly: AssemblyTitle("Apache log4net for Mono 4.0")]
- #elif (SSCLI_1_0)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-SSCLI 1.0")]
- [assembly: AssemblyTitle("Apache log4net for Shared Source CLI 1.0")]
- #elif (NET)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET")]
- [assembly: AssemblyTitle("Apache log4net for .NET Framework")]
- #elif (NETSTANDARD1_3)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET Core 1.0")]
- [assembly: AssemblyTitle("Apache log4net for .NET Core 1.0")]
- #elif (NETCF)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF")]
- [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework")]
- #elif (MONO)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono")]
- [assembly: AssemblyTitle("Apache log4net for Mono")]
- #elif (SSCLI)
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-SSCLI")]
- [assembly: AssemblyTitle("Apache log4net for Shared Source CLI")]
- #else
- [assembly: AssemblyInformationalVersionAttribute("2.0.8.0")]
- [assembly: AssemblyTitle("Apache log4net")]
- #endif
- #if DEBUG
- [assembly: AssemblyConfiguration("Debug")]
- #else
- [assembly: AssemblyConfiguration("Retail")]
- #endif
- [assembly: AssemblyProduct("log4net")]
- [assembly: AssemblyDefaultAlias("log4net")]
- [assembly: AssemblyCulture("")]
-
- //
- // 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.
- //
- #if STRONG && (CLI_1_0 || NET_1_0 || NET_1_1 || NETCF_1_0 || SSCLI)
- [assembly: AssemblyDelaySign(false)]
- [assembly: AssemblyKeyFile(@"..\..\..\log4net.snk")]
- #endif
- // We do not use a CSP key for strong naming
- // [assembly: AssemblyKeyName("")]
|