using Avalonia; namespace PLib.Desktop; internal static class Program { // Avalonia must be initialised before anything touches its types, so keep Main free of // any other work and let App own the application host. [STAThread] public static void Main(string[] args) => BuildAvaloniaApp() .StartWithClassicDesktopLifetime(args); /// Also used by the XAML previewer, which requires this exact signature. public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure() .UsePlatformDetect() .WithInterFont() .LogToTrace(); }