Unrepresentable DateTime

Hi
in some cases when I execute this line of code:

project.Recalculate();

I get exception: “The added or subtracted value results in an un-representable DateTime”

before this line of code I set the start date of the project, and calculationmode is “none”, I have multiple tasks that have start and end date filled, and these tasks have tree structure and don’t have task relations.
Can you help me?

@Haamiid,

Thank you for writing to Aspose support team.

I have tried to re-produce this scenario using sample tasks data but could not re-produce this issue. Could you please provide the sample code which does not contain extra program logic and just contains the Aspose.Tasks code along with the template file (if any)? It will help us to observe the problem and provide assistance accordingly.