private static string ConvertToolsPathToToolDefaultsPath(string settingPath) { string[] pathComponents = SettingPath.GetPathComponents(settingPath); if (pathComponents[0] == ToolSettings.Null.Path) { pathComponents[0] = AppSettings.Instance.ToolDefaults.Path; } return(SettingPath.CombinePathComponents(pathComponents)); }