PeterKottas / DotNetCore.WindowsService

Simple library that allows one to host dot net core application as windows services. Perfect solution to power micro-services architecture.
MIT License
568 stars 150 forks source link

I can't see the service under services.msc #99

Closed xts-velkumars closed 6 years ago

xts-velkumars commented 6 years ago

Good day,

I have installed the service using below command, but i couldn't see the service on service.msc (windows service)

D:\Temp\PeterKottas.DotNetCore.WindowsService.Example.exe action:install

PeterKottas commented 6 years ago

you have to start the console as administrator

sujeetharenubala commented 6 years ago

Good Day

I have installed the service using below command, but i couldn't see the service on service.msc (windows service)

D:\Temp\PeterKottas.DotNetCore.WindowsService.Example.exe action:install

I have to start the console as administrator. but it was not working

xts-velkumars commented 6 years ago

@PeterKottas yes, I'm on as administrator.

HolisticDeveloper commented 5 years ago

I didn't find my service at first. Although my code was using SetName, the Services list uses the display name. I found it listed under the full namespace of my class. Once I used SetDisplayName then it showed up with the name I expected.