log4net AssemblyInfo.cs
为什么80%的码农都做不了架构师?>>>
#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.
//
#endregionusing 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]
[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: AssemblyTitle("Apache log4net for CLI 1.0 Compatible Frameworks")]
#elif (NET_1_0)
[assembly: AssemblyTitle("Apache log4net for .NET Framework 1.0")]
#elif (NET_1_1)
[assembly: AssemblyTitle("Apache log4net for .NET Framework 1.1")]
#elif (NET_4_0)
#if CLIENT_PROFILE
[assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0 Client Profile")]
#else
[assembly: AssemblyTitle("Apache log4net for .NET Framework 4.0")]
#endif // Client Profile
#elif (NET_2_0)
#if CLIENT_PROFILE
[assembly: AssemblyTitle("Apache log4net for .NET Framework 3.5 Client Profile")]
#else
[assembly: AssemblyTitle("Apache log4net for .NET Framework 2.0")]
#endif // Client Profile
#elif (NETCF_1_0)
[assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 1.0")]
#elif (NETCF_2_0)
[assembly: AssemblyTitle("Apache log4net for .NET Compact Framework 2.0")]
#elif (MONO_1_0)
[assembly: AssemblyTitle("Apache log4net for Mono 1.0")]
#elif (MONO_2_0)
[assembly: AssemblyTitle("Apache log4net for Mono 2.0")]
#elif (SSCLI_1_0)
[assembly: AssemblyTitle("Apache log4net for Shared Source CLI 1.0")]
#elif (CLI_1_0)
[assembly: AssemblyTitle("Apache log4net for CLI Compatible Frameworks")]
#elif (NET)
[assembly: AssemblyTitle("Apache log4net for .NET Framework")]
#elif (NETCF)
[assembly: AssemblyTitle("Apache log4net for .NET Compact Framework")]
#elif (MONO)
[assembly: AssemblyTitle("Apache log4net for Mono")]
#elif (SSCLI)
[assembly: AssemblyTitle("Apache log4net for Shared Source CLI")]
#else
[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("")]
转载于:https://my.oschina.net/lyr/blog/1593253
log4net AssemblyInfo.cs相关推荐
- AssemblyInfo.cs文件
.Net魔法堂:AssemblyInfo.cs文件详解 一.前言 .net工程的Properties文件夹下自动生成一个名为AssemblyInfo.cs的文件,一般情况下我们很少直接改动该文件.但我 ...
- .Net魔法堂:AssemblyInfo.cs文件详解
一.前言 .net工程的Properties文件夹下自动生成一个名为AssemblyInfo.cs的文件,一般情况下我们很少直接改动该文件.但我们实际上通过另一个形式操作该文件.那就是通过在鼠标右键点 ...
- C# AssemblyInfo.cs文件的作用
C# AssemblyInfo.cs主要用来设定生成的有关 程序集的常规信息dll文件的一些参数 请看以下具体说明: //标题: [assembly:AssemblyTitle("编程论坛 ...
- visual studio 2010 如何修改assemblyInfo.cs默认值
这个应该是安装系统时的单位名称. 修改 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOrgani ...
- VS中实时获取SVN的版本号并写入到AssemblyInfo.cs中(C#)
原文: VS中实时获取SVN的版本号并写入到AssemblyInfo.cs中(C#) 在开发项目时,需要知道当前发布的到底是哪个版本,比较好的方式就是获取SVN的版本来作为项目的版本.项目版本一般由主 ...
- AssemblyInfo.cs文件中的程序集属性
AssemblyInfo.cs一般的由VS自动生成,用于描述程序集的属性.必要时我们可以修改此文件,增加或者修改描述程序集的属性,VS会为每一个新建的程序集创建默认的AssemblyInfo.cs来保 ...
- AssemblyInfo.cs文件详解
1..Net工程的Properties文件夹下自动生成一个名为AssemblyInfo.cs的文件,一般情况下我们很少直接改动该文件.但我们实际上通过另一个形式操作该文件.那就是通过在鼠标右键点击项目 ...
- AssemblyInfo.cs文件的作用
来自csdn(fkphp) AssemblyInfo.cs主要用来设定生成的有关程序集的常规信息dll文件的一些参数 请看以下具体说明: //备注: [assembly:AssemblyDescrip ...
- 【AssemblyInfo.cs】为程序设置版本和帮助信息
++++++++++++++++++++++++++++++++++++++++++++ +Title:[AssemblyInfo.cs]为程序设置版本和帮助信息 +Author:Hugu +Fini ...
最新文章
- Android左右滑屏遇到listview问题解决
- 20172304 《程序设计与数据结构》第六周学习总结
- WIN2008 R2 Active Directory 之一 部署企业中第一台Windows Ser
- Py之Kivy:Python库之Kivy的简介、安装、使用方法之详细攻略
- 在 Docker 里运行 Microsoft SQL 服务器
- .NET中的内存管理
- java ssm如何上传图片_ssm整合-图片上传功能(转)
- (106)System Verilog类中变量双向约束关系
- 23模式之: 迭代器模式demo
- vue引入高德地图获取经纬度地址
- 自学Shiro框架笔记
- Tue Feb 23 2021 00:00:00 GMT+0800 (中国标准时间)时间格式转换
- pytorch中tensor.topk
- Java学习-java中的与或非
- 搭建vpn linux,vpn在linux下搭建
- 花店小程序商城开发,开展线上引流渠道
- 申请Google Map服务
- 逝去的天际之风——神乐
- 小心信用卡公司10个抢钱陷阱
- 导航基础之坐标系整理——导航坐标系、地球坐标系、载体坐标系
热门文章
- 2013--JavaB--错误票据
- opencv+tensorflow手势识别+图片特效
- 用计算机如何算占销售额百分比,Excel如何计算每个部门各自的销售额占比?
- 应用人脸活体检测技术,可避免人脸识别系统被攻击
- android 录像机
- 小白必备|用视频编辑器到底能做什么?
- CDO(Climate Data Operator)系列之安装
- STM32存储器组织-STM32存储器映像-嵌入式SRAM-STM32位段-嵌入式闪存-STM32启动配置
- csdn新出炉的Python基础Python的简介和环境搭建和环境变量
- 80后程序员降薪6K,预感中年危机来袭,准备跳槽却碰壁