I have a .XML (Created with MS-Project 2013) … containing 3 segmented tasks …
if i convert the .XML to .MPP using current the Aspose Version the segmentation is getting lost.
Project aInFile = new Project(FN);
aInFile.CalculationMode = CalculationMode.Manual;
// copy template mpp to dest.-filename File.Copy(Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), “Empty.mpp”), FNOut, true);
// open dest. mpp
Project aOutFile = new Project(FNOut);
// Copy everything from the XML to the MPP
aInFile.CopyTo(aOutFile);
aOutFile.CalculationMode = CalculationMode.Manual;
// Store the MPP
aOutFile.Save(FNOut, aFormat);