Hello - I'm having a problem reading all levels of MS tasks;
ArrayList collector = project.RootTask.Children; --- only brings back first level
ChildTasksCollector collector = new ChildTasksCollector(); --- Start and finish dates are wrong when reading MPP files; you have an open issue;
I know I can use:ArrayList collector = project.RootTask.Children;
foreach (Task task in collector)
{
foreach (Task lvl1 in task.Children)
{
foreach (Task lvl2 in task.Children)
{
If I need to go 8 levels deep - this would casue a lot of duplicate code;
Is there a better way of iterating through all the tasks regardless of level?
Thanks in advance
Len