public static IList<IBuildTarget> GetSelectedBuildTargets()
{
List<IBuildTarget> targets = new List<IBuildTarget>(_buildTargets.Count);
foreach (IBuildTarget target in _buildTargets)
{
if (target.IsTargetedForBuild)
{
targets.Add(target);
}
}
return targets;
}