using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace StardewModdingAPI.Web { /// The main app entry point. public class Program { /********* ** Public methods *********/ /// The main app entry point. /// The command-line arguments. public static void Main(string[] args) { Host .CreateDefaultBuilder(args) .ConfigureWebHostDefaults(builder => builder .CaptureStartupErrors(true) .UseSetting("detailedErrors", "true") .UseStartup() ) .Build() .Run(); } } }