我有我一直在使用不能調試窗口服務
installutil windowsservice1.exe
安裝一個Windows服務此服務在Services
面板顯示出來,我能start/stop
它。
然而,當我按F5調試它,我收到以下錯誤
Cannot Start windows Service from the command line or debugger. A Windows Service must be installed......
但是,它已經被安裝。那爲什麼我得到這個錯誤?
可能重複的[Windows服務啓動失敗:無法從命令行或調試器啓動服務](http://stackoverflow.com/questions/11573724/windows-service-start-failure-cannot-start-service - 從命令行或deb) –