Difference when updating project work completed up to the specified date



When using the method UpdateProjectWorkAsComplete (Aspose.Tasks for .NET) the value calculated for the “% work complete” is different than that calculated using the Update Project option inside Microsoft Project. The “% complete” value is being calculated correctly.

Example file:
TESTES.zip (33.8 KB)

Using the following code:

Project project = new Aspose.Tasks.Project(@"C:\temp\TESTE.mpp");
project.UpdateProjectWorkAsComplete(new DateTime(2018, 11, 18), false);
project.Save(@"C:\temp\UPDATED.mpp", SaveFileFormat.MPP);

The result is this:
image.png (46.4 KB)

Using the native option from MS Project, updating to the same date, this is the result:
image.png (48.7 KB)

I don’t know if this is a bug or if I am doing something wrong.

We tested with versions 17.9 and 18.11 both produced the same results.

Thanks for your help,



Thank you for contacting us.
We have reproduced this issue and it has been logged with ID “TASKSNET-2851” for further investigation. You will automatically be informed here once we have more information to share.


Do you have any news about this issue?




We are working on this issue and it is still under investigation. This shall be resolved in our next release i.e Aspose.Tasks for .NET 19.01.