Browse Source

Fix #2132: Uncaught FileNotFoundException, if sessionSettings.ActiveAutoLoadedAssembly does no longer exist.

pull/2134/head
Siegfried Pammer 5 years ago
parent
commit
70a48898c8
  1. 3
      ILSpy/MainWindow.xaml.cs

3
ILSpy/MainWindow.xaml.cs

@ -618,7 +618,8 @@ namespace ICSharpCode.ILSpy @@ -618,7 +618,8 @@ namespace ICSharpCode.ILSpy
ShowAssemblyList(this.assemblyList);
if (sessionSettings.ActiveAutoLoadedAssembly != null)
if (sessionSettings.ActiveAutoLoadedAssembly != null
&& File.Exists(sessionSettings.ActiveAutoLoadedAssembly))
{
this.assemblyList.Open(sessionSettings.ActiveAutoLoadedAssembly, true);
}

Loading…
Cancel
Save