小编use*_*187的帖子

错误1001.指定的服务已存在

我正在编写一个C#windows服务,我能够在Visual Studio中安装和卸载,然后不确定我在代码中做了什么,搞砸了.现在当我尝试安装时,我收到错误1001:

The specified service already exists.
Run Code Online (Sandbox Code Playgroud)

但是当我尝试卸载时,它给了我:

Another program is being installed. Please wait until that installation is complete, and then try installing this software again.  
Run Code Online (Sandbox Code Playgroud)

我确实看到我的服务仍列在服务中.我该怎么做才能解决这个问题?

service installer windows-services

3
推荐指数
1
解决办法
5983
查看次数

标签 统计

installer ×1

service ×1

windows-services ×1