From 3eaf148e3145465442749d5c2ae14cc31a8f57d3 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Mon, 21 Mar 2022 00:04:03 -0400 Subject: [PATCH] now that we inherit from EditorApplication (defined in UniversalEditor.UserInterface.dll), this check is useless and doesn't work if the DLL is missing --- .../UniversalEditor.Bootstrapper/Program.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Applications/UniversalEditor.Bootstrapper/Program.cs b/Applications/UniversalEditor.Bootstrapper/Program.cs index 8d9af4e0..5abfa912 100644 --- a/Applications/UniversalEditor.Bootstrapper/Program.cs +++ b/Applications/UniversalEditor.Bootstrapper/Program.cs @@ -42,21 +42,6 @@ namespace UniversalEditor.Bootstrapper [STAThread] static void Main() { - try - { - string path = - System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) - + System.IO.Path.DirectorySeparatorChar.ToString() - + "UniversalEditor.UserInterface.dll"; - - Assembly asm = System.Reflection.Assembly.LoadFile(path); - } - catch - { - MessageDialog.ShowDialog("The file 'UniversalEditor.UserInterface.dll' is required for this software to run, but is either missing or corrupted. Please re-install the software and try again.", "Error", MessageDialogButtons.OK, MessageDialogIcon.Error); - return; - } - (new Program()).Start(); } }