using System; using System.IO; using System.ServiceProcess; namespace ChadSoft.Edificator.Service { static class Program { /// /// The main entry point for the application. /// static void Main() { Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory); ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new EdificationService() }; ServiceBase.Run(ServicesToRun); } } }