Exception: TimeSpan overflowed because the duration is too long on loading MPP (C# .NET)

We are getting an error internal to the Aspose.Tasks.dll.

Simply open a filestream to the attached file and call new Project(FileStream) and the error repeats.

TestProject.zip (4.8 MB)

Stack Trace:
ERROR (System.OverflowException): TimeSpan overflowed because the duration is too long.
METHOD: System.TimeSpan Subtract(System.TimeSpan)*
CLASS DEFINING MEMBER: System.TimeSpan*
MEMBER TYPE: Method*
SOURCE: mscorlib*
STACK TRACE: at System.TimeSpan.Subtract(TimeSpan ts)
at Aspose.Tasks.Duration.Subtract(Duration d)
at #=z2gXfRs3wP_di7r0tJFz3tpeZTa5LwQbe5u3d9LlAAcpbfvlDzE1Q2$Y=.#=zo3Qbvhq$u5ZK(Task #=z51LWWc0=)
at #=zqjB_pttZdcC8cKZsY3TY4kodAeQ1f9bcWhEPsU8=.#=zgJRB3aA=(Task #=z51LWWc0=)
at #=zqjB_pttZdcC8cKZsY3TY4kodAeQ1f9bcWhEPsU8=.#=zIVEJyaA=(Task #=z51LWWc0=, #=zIo8bQ8WZnZO5nFNJ$$bx33GPdDcUFZEC6OkJBos= #=zUTMdy9LPhhCv, #=zIo8bQ8WZnZO5nFNJ$$bx32IyzJUOIZbSJPt3gzd6PNTx #=zW7dLRIEeCyQPU2ctZA==)
at #=zgxq7HFO0pvA5wPbSvix1T7D__FWihxLvE_txGAQ=.#=zb4RXavA=()
at #=zF0ThdDnFTNqTAPAXLZILnVMlvgMi5yupgA==.#=zIVEJyaA=()
at #=zF0ThdDnFTNqTAPAXLZILnVMlvgMi5yupgA==.#=zIVEJyaA=(Project #=znVXrWkE=, Stream #=zWaGSUyQ=)
at #=z_BQD4xDsdaFgiwVC6bCB2BQ=.#=zIVEJyaA=(Stream #=zWaGSUyQ=, Project #=znVXrWkE=)
at Aspose.Tasks.Project.#=zTSF_xo2lIOHy(Stream #=zWaGSUyQ=, ParseErrorCallback #=z5PBvsKWZHbh6, Encoding #=zvs6AFtE=, PrimaveraXmlReadingOptions #=zP9ET6PY=)
at Aspose.Tasks.Project…ctor(Stream stream)

@JamesPike,

I have worked with MPP file using Aspose.Tasks for .NET 20.6 and have been able to observe the issue. A ticket with ID TASKSNET-4210 has been created to investigate and resolve the issue. We will share the good news with you as soon as the issue will be fixed.

The issues you have found earlier (filed as TASKSNET-4210) have been fixed in this update.