We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Application with MS project

http://www.techrepublic.com/blog/it-consultant/14-quality-checks-for-your-it-project-schedule/ In that link, you can see sub title of “12. Critical Path Test Check”. By formula, after we add 600 days in duration, if finish date automatically moved to 600 days, critical path is pass otherwise fail. According that formula, we must find a .mpp file’s Critical path is pass or fail. Is it possible with Aspose.Tasks dll?

Hi Raja,

Thank you for writing to Aspose support team.

Aspose.Tasks keeps track of the tasks information added to the project and calculates the Critical path along with. In order to get the tasks information in the critical path, the CriticalPath contains the collection of the tasks that incur in the completion of the project. If there is some extra duration, that can be rescheduled with Project.RescheduleUncompletedWorkToStartAfter operation. In order to get information about the tasks in critical path, please have a look at the following code sample.

Sample Code:

Project project = new Project(“New project 2010.mpp”);
project.CalculationMode = CalculationMode.Automatic;

//Display the critical path now
foreach (Task task in project.CriticalPath)
{
Console.WriteLine(task.Get(Tsk.Name));
}