Browse Source

Merge pull request #656 from Crazycatz00/master

Portable settings file
pull/651/merge
Daniel Grunwald 10 years ago
parent
commit
e1946acce2
  1. 3
      ILSpy/ILSpySettings.cs

3
ILSpy/ILSpySettings.cs

@ -115,6 +115,9 @@ namespace ICSharpCode.ILSpy @@ -115,6 +115,9 @@ namespace ICSharpCode.ILSpy
static string GetConfigFile()
{
string localPath = Path.Combine(Path.GetDirectoryName(typeof(MainWindow).Assembly.Location), "ILSpy.xml");
if (File.Exists(localPath))
return localPath;
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ICSharpCode\\ILSpy.xml");
}

Loading…
Cancel
Save