C#Windows服务未在服务管理器中看到 [英] C# Windows service doesnt see in service manager

查看:154
本文介绍了C#Windows服务未在服务管理器中看到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的服务成功安装了insatall,但未在服务中显示,因此我应该为此做些什么

my service is successfully insatall but it doesnt show in services, so what should i do for that

推荐答案

看看这个看起来已解决的非常相似的讨论,这里:链接1 [ ^ ]

它说:尝试通过运行InstallUtil.exe手动安装服务:
%windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe [YourSvc.exe]
Have a look at this very similar discussion that looks resolved, here: Link 1[^]

It says: Try to install the service manually by running InstallUtil.exe:
%windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe [YourSvc.exe]


您的安装程序类在某种程度上是无效的.
Your installer class is somehow invalid.


这篇关于C#Windows服务未在服务管理器中看到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆