We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Automation updates a mpp file but Aspose.Tasks does not!


I am testing Aspose.Tasks but I need it to be able to open a .mpp file and populate it with tasks. I have attached a project which contains an automation routine which opens a file, populates it with data and saves.

I want to do the same with Aspose.Tasks to avoid using automation but the code , which runs, does not add any Tasks! I have a trial license, so it does allow me to open and save the files. It just refuses to show them.

I think it is because I need to set Text1, Text2 and some custom flags (Flags 1 -4). I have spents hours looking for a way to do this with Aspose but have drawn a blank.

Is what I am trying to do, even possible with Aspose?

Any help appreciated.


I have seen from another post that Aspose.Tasks doesn't allow this at the moment - something about being ready in 2011Q2 - which is a shame.

I have amended my project to open a mpp file and save as .xml - however now the tasks appear but not correctly and it does not remember the timescale of the original mpp or any of the bar styles etc.

Is this normal behaviour - an example of how to create what I can do using automation using Aspose.Tasks in .xml or (ideally .mpp) would be helpful - otherwise I will have to stick with automation and all its problems.



Hi Dave,

Thanks for your request.

Unfortunately updating MPP data is under development and restricted to common project properties only. And MS Project XML Data Interchange format does not allow to save any custom view information in XML file.

I have linked the issue “Writing Project in MPP format.” with ID = 11799 to this forum thread so you’ll be informed as soon as the issue is resolved.

Sorry for your inconvenience.

The issues you have found earlier (filed as TASKS-11799) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.