[LoaderOptimization(LoaderOptimization.MultiDomainHost)] // Hopefully it doesn't break any things static void Main(string[] args) { OptionsParser.Init(args); App = new Application(); #if !DEBUG || CRASH_DEBUG App.UnhandledException += UnhandledException; #endif mainForm = new MainForm(); crashReporter = mainForm.crashReporter; App.Run(mainForm); }