Hi,
We have worked around the previous issues we had upgrading from 19.1 to 22.4. However, now we are running into a question of backwards compatibility. We create a new project using aspose 22.4 and save the project file using Project 2021. When we then try to export again using aspose 19.1, we get a program crash as follows:
Project reading exception. at . (Project , Stream )
at .(Stream )
at Aspose.Tasks.Project.(Stream , ParseErrorCallback , PrimaveraXmlReadingOptions )
at Aspose.Tasks.Project.(Stream , ParseErrorCallback )
at Aspose.Tasks.Project…ctor(Stream stream, ParseErrorCallback parseErrorHandler)
at Aspose.Tasks.Project…ctor(Stream stream)
at Pathix.MSProject.MSProjectEditor.exportToMSProject(DataTable _MSProjectData, Int32 _order, Int32 _tsk) in C:\Devel_W\Pathix.BLC\Pathix.BLC.MSProject\MSProjectEditor.cs:line 342System.ArgumentException: An entry with the same key already exists.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value)
at .()
at …ctor(Stream , Stream , Stream , Stream , Int32 , Int32 , Int32 , Int32 , )
at …ctor(Stream , Stream , Stream , Stream , Int32 , Int32 , Int32 , Int32 )
at . ()
at . ()
at . ()
at . (Project , Stream )" on MSProjectEditor
This doesn’t happen if we try an export using the same version as the file was initially created with.
Is aspose 22.3 projects compatible with aspose 19.1 projects?
Any help is appreciated.
Thanks