We are evaluating the Aspose.Tasks library and I ran into this problem using the example provide by Aspose.
For this example (see Capture1.JPG)
I click on “Run Example”, the new MPPAspose.xml is created/updated in src\programmersguide\workingwithprojects\writemppprojectsummary\data.
I open the MS Project 2010 to load the XML file, but got “The start of Task 10 is before Project Start” error. I clicked OK, the tasks are loaded. however, the dates for all tasks are messed up. (see Capture2.JPG)
Do you have a working example where XML tasks can be loaded into MS Project successfully?
Project project = new Project(“project.mpp”);
//Set some summary information about the project
java.util.Calendar cal = java.util.Calendar.getInstance();
cal.set(2014, 3, 16,0,0,0);
//Save the Project back in MPP format
//Display result of conversion.
System.out.println(“Process completed Successfully”);