一个项目多个服务的注意事项
摘要:用Vs2010一个项目多个服务,服务启动提示错误:错误1083:配置成在该可执行程序中运行的这个服务不能执行该服务。1、 在main函数处修改, ServicesToRun = new ServiceBase[] { new Service1() , new Service2() };2、 注意每个服务名,在每个服务的Designer.cs下; /// ///设计器支持所需的方法 - 不要 ///使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { components = new System.ComponentModel.C..
阅读全文
posted @ 2013-08-26 23:39