/// <summary>Gets the configuration file associated with a project.</summary> /// <param name="source">The source value.</param> /// <returns>The project's configuration file, if any.</returns> public static EnvDTE.ProjectItem GetConfigurationFileItem(this EnvDTE.Project source) { return(source.FindItem("web.config", false) ?? source.FindItem("app.config", false)); }