diff --git a/FileProcessor/Program.cs b/FileProcessor/Program.cs index 12f624d..70ff8b7 100644 --- a/FileProcessor/Program.cs +++ b/FileProcessor/Program.cs @@ -42,6 +42,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) .AddEnvironmentVariables().Build(); IHostBuilder hostBuilder = Host.CreateDefaultBuilder(args); + hostBuilder.UseWindowsService(); hostBuilder.UseLamar(); hostBuilder.ConfigureLogging(logging => {