0
votes

My asp.net-application parse mpp-file and save data in db. Then I want to generate xml project-file with the same data using mspdi. All work good besides main first task. In process of parsing I get one task which is hidden in ms project and this task is parent of all others tasks. What is it? How can I add this "main hidden task" programmatically? Usual addition make it wrong.

UPD: I use mpxj.

1
Here (mpxj.sourceforge.net/faq.html) is written "You can ignore the first task if it has an outline level of zero". Ok. But setDuration method doesn't work for task, there are 0 in duration field for all tasks. - mtkachenko

1 Answers

0
votes

That task #0 could be accessed through Project.ProjectSummaryTask. The task isn't available through Project.Tasks