using System.ServiceProcess; namespace DTS.Common.Service { static class Program { /// /// The main entry point for the application. /// InstallUtil.exe “WindowService.exe” /// static void Main() { var servicesToRun = new ServiceBase[] { new DTSService() }; ServiceBase.Run(servicesToRun); } } }