public static async Task Main(string[] args) { try { ReflectionHelper.Instance.GatherExtraNativeAssemblies(); CreateHostBuilder(args).Build().Run(); } catch (Exception ex) { Console.WriteLine("Failed to start: " + Assist.PrintException(ex)); } }