also note if you try to recalculate the first task in this mpp, the summary taks it will also loop (run out of stack space error).
Hi Richard,
Hi Richard,
We have analyzed the issue related to the logged ticket TASKS-33379 and found that the tasks were scheduled based on ASAP scheduling policy. That was the reason why MS Project and Aspose.Tasks shifted dates back due to lack of any constraints attached to this task.
In order to achieve your objective, please apply the MustStartOn constraint to the desired task and the dates will be arranged as expected.
Sample Code:
Task task = project.GetTaskById(15);
task.Start = task.Start.AddDays(1);
task.ConstraintType = ConstraintType.MustStartOn;
task.ConstraintDate = task.Start;
Task.Recalculate(project.RootTask);
Thi is not correct and the workaround is not useful.
Hi Richard,
Project project = new Project(newProject);
Task t = project.GetTaskById(15);
DateTime oldStart = t.Start;
t.Start = oldStart.AddDays(1);
t.ConstraintDate = t.Start;
t.ConstraintType = ConstraintType.StartNoEarlierThan; //Similar to MSP
Task.Recalculate(project.RootTask);
project.Save(“recalc.mpp”, SaveFileFormat.MPP);
Hi,
Further …
And more …
Hi Richard,
Hi,
Hi Richard,
Hi Richard,
Hi,
Hi Richard,
Hi,
Sorry, I should have made it clear, I am no longer doing the critical path / recalculate that I mentioned earlier because now the non-ASAp contraint is removd from the MPP, it is not needed.
Hi Richard,
The issues you have found earlier (filed as TASKS-33381) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.