Hi
recently I post a thread about resource assignment here , the code was fine until I changed it
Project prj = new Project();
prj.StartDate = DateTime.Parse(“18-Aug-2009 8:00 AM”);
Task tsk1 = prj.AddTask(“Task1”);
tsk1.ConstraintType = ConstraintType.StartNoEarlierThan;
tsk1.Start = DateTime.Parse(“18-Aug-2009 8:00 AM”);
Task tsk2 = prj.AddTask(“Task2”);
tsk2.ConstraintType = ConstraintType.StartNoEarlierThan;
tsk2.Start = DateTime.Parse(“19-Aug-2009 8:00 AM”);
Resource res1 = prj.AddResource(“Resource1”);
res1.Type = ResourceType.Cost;
ResourceAssignment ra1 = prj.AddResourceAssignment(tsk1, res1);
ResourceAssignment ra2 = prj.AddResourceAssignment(tsk2, res1);
//Save the Project
prj.Save(“C:\testres.xml”, Aspose.Tasks.Saving.SaveFileFormat.XML);
assign any type except Work to resource result in Zero Duration , am I miss something?
and is there any progress about split problem ?
thank you for any help