...
This commit is contained in:
parent
e24b488457
commit
bd1dee2ccf
@ -22,6 +22,7 @@ public class Program
|
||||
Args = args,
|
||||
ContentRootPath = Path.GetDirectoryName(assembly.Location)
|
||||
});
|
||||
_ = webApplicationBuilder.Host.UseWindowsService();
|
||||
AppSettings appSettings = Models.Stateless.AppSettings.Get(webApplicationBuilder.Configuration);
|
||||
if (string.IsNullOrEmpty(appSettings.WorkingDirectoryName))
|
||||
throw new Exception("Working directory name must have a value!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user