public static PropertyGroupXElement AddTargetFramework(this PropertyGroupXElement propertyGroup, TargetFramework targetFramework, out TypedXElement targetFrameworkElement) { var standardString = targetFramework.ToStringStandard(); targetFrameworkElement = propertyGroup.Value.AddElement(ProjectFileXmlElementNames.TargetFramework, standardString).AsGeneralXElement(); return(propertyGroup); }
public static PropertyGroupXElement AddProperty(this PropertyGroupXElement propertyGroup, string propertyElementName, out TypedXElement element) { element = propertyGroup.Value.AddElement(propertyElementName).AsGeneralXElement(); return(propertyGroup); }