public App() { string exeDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); Directory.SetCurrentDirectory(exeDir); AssemblyResolver.Init(); LicenseKeyLocator.FindandRegisterLicenseKey(); this.DispatcherUnhandledException += App_DispatcherUnhandledException1; }
public App() { #if STORE string exeDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); Directory.SetCurrentDirectory(exeDir); #else AssemblyResolver.Init(); LicenseKeyLocator.FindandRegisterLicenseKey(); this.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(App_DispatcherUnhandledException); #endif }
public App() { AssemblyResolver.Init(); LicenseKeyLocator.FindandRegisterLicenseKey(); this.DispatcherUnhandledException += App_DispatcherUnhandledException1; }