protected void SetProperties(IEnumerable <KeyValuePair <string, string> > properties, string condition, string label) { properties.ForEach(p => XProject.AddPropertyGroup(label, condition).SetProperty(p.Key, p.Value) ); }