TimeSpan Overflowed because the duration is too long

Hello, I am using the version of Aspose version “17.9.0.0” and I am having problems adding add use of “ResourceAssignments.Add”, where Etto of “TimeSpan Overflowed because the duration is too long” occurs. follows the attached example project I’m using.

In some cases when decreasing the amount of the resource the same is added without errors but an error occurs in the recalculate.

I would like to check the handling of these exceptions in order to make life easier for users who use it in the same way they do in MS-Project when manually typing in some project

I’m waiting!

Thank you, Lander Victor!

image.png (33.3 KB)

image.png (26.0 KB)

@lander1985,

Thank you for writing to Aspose support team.

This issue is re-produced and logged under Id: TASKSNET-2184 for further investigation by the product team. You will be automatically notified once any update is received in this regard.