Esempio n. 1
0
        public MSBuildPropertySet GetGlobalPropertyGroup()
        {
            var res = new MSBuildPropertyGroupMerged();

            foreach (MSBuildPropertyGroup grp in PropertyGroups)
            {
                if (grp.Condition.Length == 0)
                {
                    res.Add(grp);
                }
            }
            return(res.GroupCount > 0 ? res : null);
        }
Esempio n. 2
0
 public MSBuildPropertySet GetGlobalPropertyGroup()
 {
     var res = new MSBuildPropertyGroupMerged();
     foreach (MSBuildPropertyGroup grp in PropertyGroups)
     {
         if (grp.Condition.Length == 0)
             res.Add(grp);
     }
     return res.GroupCount > 0 ? res : null;
 }