Free Support Forum - aspose.com

WBS added to mpp does not display in MSP

Hi,


I am updating an MSP 2010 template (attached) and trying to add WBS codes. The codes seems to be added ok to the Project object but once written to the mpp file and opened in MSP 2010 they are not displayed and an incremental integer code is displayed instead.

I am using Aspose.Tasks 5.0.0. I think this functionality was working in 4.9.0. However, I may be mistaken.

Could you please let me know if this is a bug or if I am doing something wrong?

Thanks.


The file created from following code demonstrates the issue:

/*********************************************************/
static void Main()
{
var license = new License();
license.SetLicense(“Aspose.Tasks.lic”);

//create a project instance
var projectReader = new ProjectReader();
var prj = projectReader.Read(“project.mpp”);

//define Tasks
var rootTsk = new Task();
var tsk1 = new Task(“Tsk1”);
var tsk2 = new Task(“Tsk2”);
tsk1.Wbs = “Code1”;
tsk2.Wbs = “Code2”;

//add tasks
rootTsk.Children.Add(tsk1);
rootTsk.Children.Add(tsk2);
prj.RootTask = rootTsk;

//perform recalculations
prj.CalcTaskIds();
prj.CalcTaskUids();
prj.UpdateReferences();

//create a project writer instance
var prjWriter = new ProjectWriter();

//write the stream in mpp format
prjWriter.Write(prj, “project5.mpp”, TasksDataFormat.MPP);
}
/*********************************************************/

Hi Vincent,


Sorry for the inconvenience caused to you.

I would like to share with you that this issue has already been logged in our bug tracking system as TASKS-33218. I have also linked this thread with this issue so that once it is fixed, you get automatic notification. We appreciate your patience till then.

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


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

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