I have a project file (created in MSP2013) that starts:
aspose.png (4.2 KB)
If I run this code with that project file:
foreach (Task task in project.SelectAllChildTasks()) Console.WriteLine(task.Get(Tsk.Id) + " " + task.Get(Tsk.Name));
0 XXXXXXXXXXXXX NB Digital IF
1 Project Control Owners
2 Project PM Thru First Article (Planning / Staffing / Schedule / Tracking / Financials)
3 Project PM After First Article (Planning / Staffing / Schedule / Tracking / Financials)
4 Project PE After First Article (Technical Coordination)
The Tsk.Id field does not match the left-most column of the screenshot. Retrieving Task Ids from the same file via COM does return the expected numbers (i.e. “Project Control Owners” is Id 2).
Is there a way to find the row number displayed in Microsoft Project via Aspose?