private static void Main(string[] args) { LibPathManager.SetDllSearchPath(); AppDomain.CurrentDomain.AssemblyResolve += LibPathManager.CustomResolve; RunPlayer(args); }
static void Main() { LibPathManager.SetDllSearchPath(); AppDomain.CurrentDomain.AssemblyResolve += LibPathManager.CustomResolve; RunTests(); }
public new int Run() { try { LibPathManager.SetDllSearchPath(); AppDomain.CurrentDomain.AssemblyResolve += LibPathManager.CustomResolve; return(base.Run()); } catch (ShutDownSilentException) { // do nothing, simply exit without any dialog } catch (ShutDownException shutdownException) { UIHelper.ShowErrorMessageBox(shutdownException.Message, shutdownException.Title); } #if !DEBUG catch (Exception ex) { Components.CrashReportWindow.ShowCrashReportForException(ex); } #endif return(0); }