public override void InitializeSettings(SolutionItem entry) { if (string.IsNullOrEmpty(targetDir)) { targetDir = entry.BaseDirectory; } if (string.IsNullOrEmpty(defaultConfig)) { SolutionEntityItem se = entry as SolutionEntityItem; defaultConfig = se != null?se.GetConfigurations() [0] : null; } if (File.Exists(Path.Combine(entry.BaseDirectory, "autogen.sh")) || File.Exists(Path.Combine(entry.BaseDirectory, "configure"))) { generateFiles = false; } else { generateFiles = true; } }