} else if (onErrorFound)
throw new InvalidProjectFileException (
"The element <OnError> must be last under element <Target>. Found element <Error> instead.");
-#if NET_3_5
else if (xe.Name == "ItemGroup") {
var group = new BuildTaskItemGroup (xe, this);
buildTasks.AddRange (group.Items);
buildTasks.Add (new BuildTaskPropertyGroup (xe, this));
continue;
}
-#endif
else
buildTasks.Add (new BuildTask (xe, this));
}