public void SetProjectInclude(Guid gid, bool include)
        {
            XmlDocument doc = cfgDoc;
            XmlNode     pn  = doc.DocumentElement.SelectSingleNode(string.Format(CultureInfo.InvariantCulture,
                                                                                 "{0}[@{1}='{2}']",
                                                                                 XmlTags.XML_Item, XmlTags.XMLATT_guid, VPLUtil.GuidToString(gid)));

            if (pn == null)
            {
                pn = doc.CreateElement(XmlTags.XML_Item);
                XmlUtil.SetAttribute(pn, XmlTags.XMLATT_guid, VPLUtil.GuidToString(gid));
                doc.DocumentElement.AppendChild(pn);
            }
            XmlUtil.SetAttribute(pn, XMLATT_include, include);
        }
        public bool IsProjectBuildIncluded(ProjectNode projectNode)
        {
            ProjectNodeData pdata = projectNode.PropertyObject as ProjectNodeData;
            XmlDocument     doc   = cfgDoc;
            XmlNode         pn    = doc.DocumentElement.SelectSingleNode(string.Format(CultureInfo.InvariantCulture,
                                                                                       "{0}[@{1}='{2}']",
                                                                                       XmlTags.XML_Item, XmlTags.XMLATT_guid, VPLUtil.GuidToString(pdata.Project.ProjectGuid)));

            if (pn == null)
            {
                return(true);
            }
            return(XmlUtil.GetAttributeBoolDefTrue(pn, XMLATT_include));
        }