ProjectReader Problems?

Hi everyone,

I have attached 3 files, all exactly the same, except for the version of the file.

2003.mpp is a saved 2003 file from 2007.xml (MSP2007)
2007.mpp is a saved 2007 file from 2007.xml (MSP2007)
2007.xml is a constructed file from Aspose with ExtendedAttributes

Now, when i use ProjectReader.Read on 2003.mpp, it returns Nothing (VB.NET).

When I use ProjectReader against 2007.mpp, it returns an object, but the tasks are missing their Extended Attributes (clearly visible in Microsoft Project 2007).

When I use ProjectRead against 2007.xml, all is fine.

I thought Aspose was able to read 2003 files and 2007 files?

Answered in <a href="https://forum.aspose.com/t/4585

Hi Myrlar,

2003.mpp is readable in Aspose.Tasks on my end both in VB and C#. Please check your configuration. I am using the following lines of code in a web application and it displays the task from the file.
Dim rdr As ProjectReader = New ProjectReader()
Dim st1 As FileStream = New FileStream(“c:\sabir\myr\2003\2003.mpp”, FileMode.Open)
Dim prj As Project = rdr.Read(st1)
Dim tsk As Task = CType(prj.RootTask.Children(0), Task)
Response.Write(tsk.Name)

As far as extended attributes in an mpp is concerned, it is not available so far.