public void UnsetMetadata(string name) { XmlElement elem = Element[name, MSBuildProject.Schema]; if (elem != null) Element.RemoveChild(elem); }