[英]Development and testing a Windows service
If I'm developing a service, do I need to unregister and register the service every time I compile the exe? 如果我正在开发服务,每次编译exe时是否需要取消注册并注册服务? Or just stopping, changing the file and starting is perfectly enough?
或者只是停止,更改文件和启动就足够了?
Yes, once you have registered the program as a service, that method (stop/replace/start) will work in development, testing, and production. 是的,一旦您将程序注册为服务,该方法(停止/替换/启动)将在开发,测试和生产中起作用。 No need to register it again.
无需再次注册。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.