摘要:
1.ini文件: [Update] Version=2.2.0228.001 Recommend=1 VersionMemo=1.aasdfadfsafdfafd|2.YYYYYYY|3.ZZZZZZZZ2.读取ini的cs类(单独建一个 封装读取)using System;using System.Collections.Generic;using System.Web;using System.Text;using System.Runtime.InteropServices;/*System.Runtime.InteropServices提供了相应的类或者方法来支持托管/非托管模... 阅读全文
posted @ 2012-02-28 11:49
zeroooooo~
阅读(177)
评论(0)
推荐(0)
摘要:
第一打开 vs2008 ,新建一个 wcf服务库 项目 ,vs 会自动生成一个类,用于测试。wcf服务库建立完成第二在解决方案中添加 新建 windows服务 项目,在“设计”窗口中点右键 单击添加安装程序这时项目中就添加了一个新类 ProjectInstaller 和两个安装组件 ServiceProcessInstaller 和 ServiceInstaller,并且服务的属性值被复制到组件。单击 ServiceInstaller 组件并将 StartType 属性设置为Automatic将serviceProcessInstaller类的Account属性改为 LocalSystem然后 阅读全文
posted @ 2012-02-28 11:40
zeroooooo~
阅读(790)
评论(0)
推荐(1)

浙公网安备 33010602011771号