Open/Save causes issues with mpp file in MS Project

The following test code was run against the attached mpp file. After running the code, open the AsposeTest2.mpp file in MS Project 2010 and try to set task 2 (Project Review)'s % Complete to 70% and you receive a Planning Wizard notification. This does not happen if you do the same to the original file.

Is there a way around this issue?

namespace AsposeTest
{
internal class Program
{
private static void Main(string[] args)
{
var tasksLicense = new Aspose.Tasks.License();
tasksLicense.SetLicense(“AsposeTest.Aspose.Total.lic”);

var project = new Aspose.Tasks.Project(“AsposeTest.mpp”);
project.Save(“AsposeTest2.mpp”, Aspose.Tasks.Saving.SaveFileFormat.MPP);
}
}
}

Hi,


Thank you for posting your inquiry.

We have analyzed your shared situation and were able to observe the issue with the latest version of the API at our end. It has been reported to our Product team as TASKSNET-1785 for further investigation. We’ll update you here once there is some update or a fix version available for this issue.

Hi,


We have requested ETA for this issue from our Product team and will write back here as some information is available in this regard.

Hi,


We have investigated this issue further at our end and have found that this warning is related to the observation that a task from this project has start date earlier than the project start. The silence of MSP over such an issue for the MPP format is something strange as if we save this as XM using MSP and then open it, MSP warns about the dates conflict which is expected behavior. Could you please share with us if you really need the start date to be before project’s start date? We’ll look into this issue in light of your feedback.

@jskahua,

Can you please share how this AsposeTest.mpp was generated? Either it was created using MSP or Aspose.Tasks API?