Run a Windows Service as a console app

前端 未结 6 867
别跟我提以往
别跟我提以往 2020-12-02 12:30

I want to debug a Windows service but it pops an error message saying

Cannot start service from the command line or a debugger. A windows service

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 12:56

    Another reason can be that the solution configuration is in Release mode in place of Debug mode

提交回复
热议问题