コード例 #1
0
ファイル: App.cs プロジェクト: wirmachenbunt/tooll
        private static void Main(string[] args)
        {
            LibPathManager.SetDllSearchPath();
            AppDomain.CurrentDomain.AssemblyResolve += LibPathManager.CustomResolve;

            RunPlayer(args);
        }
コード例 #2
0
        static void Main()
        {
            LibPathManager.SetDllSearchPath();
            AppDomain.CurrentDomain.AssemblyResolve += LibPathManager.CustomResolve;

            RunTests();
        }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: wirmachenbunt/tooll
        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);
        }