Browse our Products

Aspose.Tasks for C++ 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:

auto project = System::MakeObject<Project>(System::String(u"Test.mpp"));
auto task = project->get_RootTask()->get_Children()->Add(u"New task");
task->MoveToSibling(project->get_RootTask().get_Children()->GetByUid(5));