/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     var svc = new DeploymentService(args);
     if (!Environment.UserInteractive)
     {
         Logger = new EventLogger();
         ServiceBase.Run(svc);
     }
     else
     {
         svc.Start();
         svc.Stop();
     }
 }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            var svc = new DeploymentService(args);

            if (!args.ToList().Contains("--interactive"))
            {
                Logger = new EventLogger();
                ServiceBase.Run(svc);
            }
            else
            {
                svc.Start();
                svc.Stop();
            }
        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            var svc = new DeploymentService(args);

            if (!Environment.UserInteractive)
            {
                Logger = new EventLogger();
                ServiceBase.Run(svc);
            }
            else
            {
                svc.Start();
                svc.Stop();
            }
        }