Aspose.Tasks for .NET 21.7 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-10279Fix wrong Timephased Data for the material resource in MPPBug
TASKSNET-3629Fix disappearing of a task after an active view changeBug
TASKSNET-10275Fix Invalid Tsk.Id when blank line is insertedBug
TASKSNET-10278Fix tasks are not shown in MS Project when opening result of “CopyTo” methodBug
TASKSNET-10276Fix task lines are shown incorrectly when blank line is inserted for MPP 2003 and 2008Bug

Public API and Backwards Incompatible Changes

The following public methods and properties were added:Description
Aspose.Tasks.OleObject.IdGets the object id.
Aspose.Tasks.Task.MoveToSibling(Aspose.Tasks.Task)Moves the current task at the same Outline Level before the specified task.
Aspose.Tasks.WorkWeek.#ctorInitializes a new instance of the class.
The following public methods and properties were deleted:Description
Aspose.Tasks.TaskBaselineCollection.ParentTask
Aspose.Tasks.WeekDayCollection.ParentCalendar
Aspose.Tasks.WorkWeek.ParentCalendar

Examples and additional notes

Related issue: Fix Invalid Tsk.Id when blank line is inserted

Overload of Task.MoveToSibling method was added. The new method accepts Task instead of Task’s Id as a parameter:

Project project = new Project("test.mpp");
var task = project.RootTask.Children.Add("New task");
task.MoveToSibling(project.RootTask.Children.GetByUid(5));