Issue writting to MPP

After editing the name of one task in this mpp and saving it, i tried to reopen the project and it shows it has no tasks. However it does open in project, and show the edit. I included the original and the save/edit.

Hi JJ,

Thank you for writing to us.

I have investigated this issue at my end using the latest version of Aspose.Tasks for .NET 6.2.0 but I am afraid to share that I couldn’t reproduce it at my end with the following sample code. Could you please make sure that you are using the latest version at your end and let us know your feedback?

Sample Code:

Project project = newProject(“b4ubuild_sample_07.mpp”);
Task task = project.GetTaskById(2);
Console.WriteLine(task.Name);
task.Name = task.Name + " *****Changed";
project.Save("b4ubuild_sample_07_Edit.mpp", Aspose.Tasks.Saving.SaveFileFormat.MPP);
project = newProject("b4ubuild_sample_07_Edit.mpp");
ChildTasksCollector collector = newChildTasksCollector();
TaskUtils.Apply(project.RootTask, collector, 0);
foreach (Task tsk in collector.Tasks)
    Console.WriteLine(tsk.OutlineLevel + "-" + tsk.Name);