I have followed your examples for exporting to MPX file from a webpage. My object model is not as complex as the Aspose.Tasks but has much of the same functionality.
I can convert my model to and instance of Aspose.Tasks.MPXFile and can set the project, childtasks etc. etc.
I then do a file.write on the output stream of the page's response which then prompts the client download dialogue. This all works fine as expected. I can Open or Save my exported MPX file.
My problem is that when I open the MPX file in MS Project it always seems to open two instances of the project?
Has any when else experience this? Any help would be much appreciated.