We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Tasks with start- finish and duration empty

Can I set tasks with a start, finish or duration empty when in manual mode, like in MS Project?

Hi,


Thank you for writing to Aspose support team.

I have analyzed this requirement and observed that it cannot be done using Aspose.Tasks for .NET 8.7.0. It is a bug and is logged under id:TASKS-34233 in our issue tracking system for further investigation by the product team. I will write here as soon as some feedback is received in this regard.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

After fixed, How I do to set the fields duration, start and finish as empty?

Hi,


The following sample code shows how to generate such a task. Please try it at your end and share your feedback with us.

Code:

Project newProject = new Project(path + “Blank2010.mpp”);
newProject.Set(Prj.NewTasksAreManual, true);
Task task = newProject.RootTask.Children.Add(“test”);
newProject.Save(path + “Project5.mpp”, SaveFileFormat.MPP);