private static void Main(string[] args) { var buildType = ""; #if DEBUG buildType = "Debug"; #else buildType = "Release"; #endif ProgramBase.Init(CreateHostBuilder, buildType, args); }