Dev User

Dev User

  • 1.9k
  • 8
  • 549

Can I run a console app as a service on a computer?

Nov 16 2017 10:46 AM
I recently built a C# console application and it is working fine when I execute the file.
However, the client requested that I run it as a service. Is that even possible without me recoding the entire application as a Windows Service app in c#? Another drawback is that I am not familiar with writing windows services if I convert it.
I have tried but when I start my service it errors out with 1067:  The process terminated unexpectedly.
I am really unsure what to do at this point. Is there other way that I can run my console app as a windows service without having to re-code everything?

Brought to you by:

Answers (2)