Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 817 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 817 Bytes

hexmaster-servicehelper

Helper classes to allow simple debugging of Windows Services

If you've created a service in Visual Studio.NET, the program.cs contains the following line: ServiceBase.Run(ServicesToRun);

After installing the service helper, change this line like so:
HexMaster.Helper.Run(ServicesToRun);

Now if you run your project with a debugger attached, you will be able to run the service from a window that pops up, else the service will run as is would without having the service helper installed.

Note you can install the service helper easy using our NuGet package :
install-package HexMaster.WindowsServiceHelper

See the NuGet gallery page for more information : https://www.nuget.org/packages/HexMaster.WindowsServiceHelper/