C#: Running and Debugging a Windows Service

后端 未结 2 1895
感动是毒
感动是毒 2021-01-15 10:22

I am currently building a Windows Service with C# and I just can\'t figure out how to debug it.


I am building it and then registering with installutil

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-15 10:48

    Upon further research, I realized that I had no Installer attached to the service, so the problem was now fixed by adding an Installer.

    Here is the tutorial I used to add a Service Installer and so on.

提交回复
热议问题