AssemblyInfo.cs 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. #region Apache License
  2. //
  3. // Licensed to the Apache Software Foundation (ASF) under one or more
  4. // contributor license agreements. See the NOTICE file distributed with
  5. // this work for additional information regarding copyright ownership.
  6. // The ASF licenses this file to you under the Apache License, Version 2.0
  7. // (the "License"); you may not use this file except in compliance with
  8. // the License. You may obtain a copy of the License at
  9. //
  10. // http://www.apache.org/licenses/LICENSE-2.0
  11. //
  12. // Unless required by applicable law or agreed to in writing, software
  13. // distributed under the License is distributed on an "AS IS" BASIS,
  14. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. // See the License for the specific language governing permissions and
  16. // limitations under the License.
  17. //
  18. #endregion
  19. using System.Reflection;
  20. using System.Runtime.CompilerServices;
  21. #if (!SSCLI)
  22. //
  23. // log4net makes use of static methods which cannot be made com visible
  24. //
  25. [assembly: System.Runtime.InteropServices.ComVisible(false)]
  26. #endif
  27. //
  28. // log4net is CLS compliant
  29. //
  30. [assembly: System.CLSCompliant(true)]
  31. #if (!NETCF)
  32. //
  33. // If log4net is strongly named it still allows partially trusted callers
  34. //
  35. [assembly: System.Security.AllowPartiallyTrustedCallers]
  36. #endif
  37. #if (NET_4_0)
  38. //
  39. // Allows partial trust applications (e.g. ASP.NET shared hosting) on .NET 4.0 to work
  40. // given our implementation of ISerializable.
  41. //
  42. [assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
  43. #endif
  44. //
  45. // General Information about an assembly is controlled through the following
  46. // set of attributes. Change these attribute values to modify the information
  47. // associated with an assembly.
  48. //
  49. #if (CLI_1_0)
  50. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.CLI 1.0")]
  51. [assembly: AssemblyTitle("Apache log4net for CLI 1.0 Compatible Frameworks")]
  52. #elif (NET_1_0)
  53. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 1.0")]
  54. [assembly: AssemblyTitle("Apache log4net for .NET Framework 1.0")]
  55. #elif (NET_1_1)
  56. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 1.1")]
  57. [assembly: AssemblyTitle("Apache log4net for .NET Framework 1.1")]
  58. #elif (NET_4_5)
  59. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.5")]
  60. [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.5")]
  61. #elif (NET_4_0)
  62. #if CLIENT_PROFILE
  63. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.0 CP")]
  64. [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0 Client Profile")]
  65. #else
  66. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 4.0")]
  67. [assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0")]
  68. #endif // Client Profile
  69. #elif (NET_2_0)
  70. #if CLIENT_PROFILE
  71. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 3.5 CP")]
  72. [assembly: AssemblyTitle("Apache log4net for .NET Framework 3.5 Client Profile")]
  73. #else
  74. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET 2.0")]
  75. [assembly: AssemblyTitle("Apache log4net for .NET Framework 2.0")]
  76. #endif // Client Profile
  77. #elif (NETCF_1_0)
  78. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF 1.0")]
  79. [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 1.0")]
  80. #elif (NETCF_2_0)
  81. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF 2.0")]
  82. [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 2.0")]
  83. #elif (MONO_1_0)
  84. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 1.0")]
  85. [assembly: AssemblyTitle("Apache log4net for Mono 1.0")]
  86. #elif (MONO_2_0)
  87. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 2.0")]
  88. [assembly: AssemblyTitle("Apache log4net for Mono 2.0")]
  89. #elif (MONO_3_5)
  90. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 3.5")]
  91. [assembly: AssemblyTitle("Apache log4net for Mono 3.5")]
  92. #elif (MONO_4_0)
  93. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono 4.0")]
  94. [assembly: AssemblyTitle("Apache log4net for Mono 4.0")]
  95. #elif (SSCLI_1_0)
  96. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-SSCLI 1.0")]
  97. [assembly: AssemblyTitle("Apache log4net for Shared Source CLI 1.0")]
  98. #elif (NET)
  99. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET")]
  100. [assembly: AssemblyTitle("Apache log4net for .NET Framework")]
  101. #elif (NETSTANDARD1_3)
  102. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NET Core 1.0")]
  103. [assembly: AssemblyTitle("Apache log4net for .NET Core 1.0")]
  104. #elif (NETCF)
  105. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-.NETCF")]
  106. [assembly: AssemblyTitle("Apache log4net for .NET Compact Framework")]
  107. #elif (MONO)
  108. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-Mono")]
  109. [assembly: AssemblyTitle("Apache log4net for Mono")]
  110. #elif (SSCLI)
  111. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0-SSCLI")]
  112. [assembly: AssemblyTitle("Apache log4net for Shared Source CLI")]
  113. #else
  114. [assembly: AssemblyInformationalVersionAttribute("2.0.8.0")]
  115. [assembly: AssemblyTitle("Apache log4net")]
  116. #endif
  117. #if DEBUG
  118. [assembly: AssemblyConfiguration("Debug")]
  119. #else
  120. [assembly: AssemblyConfiguration("Retail")]
  121. #endif
  122. [assembly: AssemblyProduct("log4net")]
  123. [assembly: AssemblyDefaultAlias("log4net")]
  124. [assembly: AssemblyCulture("")]
  125. //
  126. // In order to sign your assembly you must specify a key to use. Refer to the
  127. // Microsoft .NET Framework documentation for more information on assembly signing.
  128. //
  129. // Use the attributes below to control which key is used for signing.
  130. //
  131. // Notes:
  132. // (*) If no key is specified, the assembly is not signed.
  133. // (*) KeyName refers to a key that has been installed in the Crypto Service
  134. // Provider (CSP) on your machine. KeyFile refers to a file which contains
  135. // a key.
  136. // (*) If the KeyFile and the KeyName values are both specified, the
  137. // following processing occurs:
  138. // (1) If the KeyName can be found in the CSP, that key is used.
  139. // (2) If the KeyName does not exist and the KeyFile does exist, the key
  140. // in the KeyFile is installed into the CSP and used.
  141. // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  142. // When specifying the KeyFile, the location of the KeyFile should be
  143. // relative to the project output directory which is
  144. // %Project Directory%\obj\<configuration>. For example, if your KeyFile is
  145. // located in the project directory, you would specify the AssemblyKeyFile
  146. // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
  147. // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  148. // documentation for more information on this.
  149. //
  150. #if STRONG && (CLI_1_0 || NET_1_0 || NET_1_1 || NETCF_1_0 || SSCLI)
  151. [assembly: AssemblyDelaySign(false)]
  152. [assembly: AssemblyKeyFile(@"..\..\..\log4net.snk")]
  153. #endif
  154. // We do not use a CSP key for strong naming
  155. // [assembly: AssemblyKeyName("")]