private IConfigurationProjectItem BuildConfigurationProjectItem() { var configurationItem = ProjectItems.SingleOrDefault( i => string.Equals(i.Include.Unevaluated, "App.config", StringComparison.InvariantCultureIgnoreCase) || string.Equals(i.Include.Unevaluated, "Web.config", StringComparison.InvariantCultureIgnoreCase)); if (configurationItem == null) { return(null); } return(new ConfigurationProjectItem(this, configurationItem)); }