public static void RunApplication() { Application.RunApplication(() => { var app = new OpenSilverApplication1.App(); }); }
public static void Main(string[] args) { Cshtml5Initializer.Initialize(); IWebAssemblyHost host = CreateHostBuilder(args).Build(); host.Run(); host.Dispose(); Application.RunApplication(() => { var app = new OpenSilverApplication1.App(); }); }