title: Window is not showing in WPF with DevExpress
body: <p>I have a WPF application which can't show MainWindow. The same code is working on another project or on another computer.</p>
  
  <pre><code>   IKernel kernel = new StandardKernel();
     kernel.Load(Assembly.GetExecutingAssembly());
  
     var mainWindow = kernel.Get&lt;MainWindow&gt;();
  
     if (showMainWindow) mainWindow.Show();
  
     MainWindow = mainWindow;
  </code></pre>
  
  <p><code>mainWindow.Show();</code> is causing the end of the debugging process. </p>
  
  <p>EventViewer is showing following error:</p>
  
  <pre><code>Faulting application name: Esonic.AppCenter.exe, version: 1.0.0.0, timestamp: 0x5be0180f 
  Faulting module name: KERNELBASE.dll, version: 10.0.17134.319, time stamp: 0x5ea0e53d
  </code></pre>
  
  <p>I have tried a reinstall of .NET Framework(4.6.2) and also DevExpress which is in version 15.2.4</p>