Пример #1
0
        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);
        }
Пример #2
0
        public static PropertyGroupXElement AddProperty(this PropertyGroupXElement propertyGroup, string propertyElementName, out TypedXElement element)
        {
            element = propertyGroup.Value.AddElement(propertyElementName).AsGeneralXElement();

            return(propertyGroup);
        }