From 9c851657170b8164bf77d0778a3c3731c70830e9 Mon Sep 17 00:00:00 2001 From: falcon <9504402@qq.com> Date: Tue, 3 Nov 2020 14:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=8C=82Windows=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/StaffManagement/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StaffManagement/Program.cs b/src/StaffManagement/Program.cs index 515af6c..ceb37c3 100644 --- a/src/StaffManagement/Program.cs +++ b/src/StaffManagement/Program.cs @@ -12,6 +12,7 @@ namespace StaffManagement public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) + .UseWindowsService() .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); })