Install Windows Service created in Visual Studio

前端 未结 7 689
Happy的楠姐
Happy的楠姐 2020-12-02 06:16

When I create a new Windows Service in Visual Studio 2010, I get the message stating to use InstallUtil and net start to run the service.

I have tried the following

相关标签:
7条回答
  • 2020-12-02 06:46

    Yet another catch I ran into: ensure your Installer derived class (typically ProjectInstaller) is at the top of the namespace hierarchy, I tried to use a public class within another public class, but this results in the same old error:

    No public installers with the RunInstallerAttribute.Yes attribute could be found

    0 讨论(0)
提交回复
热议问题