Please share your project file and let us investigate it. Project summary task is linked with sub tasks so start and end date of summary task is dependent on sub tasks.
Moreover, you may try after setting project calculation mode to manual as follows:
My current requirement is to set the summary task (start/end) date and sub task (start/end) date differently, so setting a subtask (task 1 start and end date) is not solving the purpose.
We have logged this issue with ID “TASKSNET-2855” for further investigation. You will automatically be informed here once we have more information to share.
@MuzammilKhan
I would like to re-iterate my requirement, I have a situation where I should populate summary task (start/end) and sub task (start/end) dates differently. By executing above lines of code, it would create a task id 1 and assigns the date also updates the task id 0 (summary task) date with the same.
So please let me know the options for doing the same.
Could you please share with us the MPP file generated by MS Project in which summary task dates are different from the child ones?
Moreover, Aspose.Tasks automatically calculates the fields of summary tasks and we are unable to reproduce this issue with such files where the dates of summary and child are different.
Thank you for your feedback.
Can you please elaborate what actually are you trying to do? Can you please create a sample project using MS Project (not by using Aspose.Tasks library) and attach MPP file here? So that we could find the difference in behavior of Aspose.Tasks and MS Project.
For now, Aspose.Tasks is always do the same calculations as MS Project and if MS Project recalculates the summary dates after child’s have been changed it is the right behavior and our API will do the same.
@alexanderefremov1
Currently am unable to edit the summary task’s (task 0) start and end date using Project 2013, so I feel this is how the behavior is derived in AT as well. Let me check whether any option where I could do this manually in MS Project and then get back to Aspose.
Thank you for your feedback.
Please check with scheduling mode it may have set automatic. Please write back to us and share manually created MPP with us.
The issues you have found earlier (filed as TASKSNET-2855) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan