Aspose.Tasks for C++ 21.7 Release Notes

All Changes

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

Public API and Backwards Incompatible Changes

The following public methods and properties were added: Description
Aspose.Tasks.OleObject.Id Gets 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.#ctor Initializes 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));