Browse our Products

Aspose.Tasks for C++ 26.8 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-11796Add progress notification API when loading Project from XER formatEnhancement
TASKSNET-11298Add progress notification API when loading Project from MPP formatEnhancement
TASKSNET-11797Fix reading of values of task’s extended attributes from MS Project DBBug
TASKSNET-11793Fix incorrect assignment field calculations when setting a task actual finish results in a zero-duration assignmentBug
TASKSNET-11792Fix recalculation of a task changes finish date of completed assignmentBug
TASKSNET-11788Updating Task.ActualFinish doesn’t update child assignment’s ActualFinishBug
TASKSNET-11786Fix summary task duration calculation logic for projects read from Primavera formatsBug
TASKSNET-11785Optimize baseline timephased data recalculation when baseline data is unchanged and Project.Save() is calledBug
TASKSNET-11751Fix ‘offset should be within the boundaries of the span’ error when reading the specific file.Bug
TASKSNET-11744Fix incorrect handling of string literals in the calculation of a formula’s resultsBug
TASKSNET-11741Fix incorrect logic of GetTimephasedWorkBug
TASKSNET-10627Fix reading of project-specific extended attribute definitions from MS Project DBBug
TASKSNET-10533Fix logic of recalculation of assignments when updating parent task’s ActualFinishBug

Public API and Backwards Incompatible Changes

The following public types were added:Description
Aspose::Tasks::IProgressNotificationCallbackRepresents a callback interface for receiving notifications during long-running project operations.
Aspose::Tasks::ProgressNotificationArgsProvides data for the method.
The following public methods were added:Description
Aspose::Tasks::IProgressNotificationCallback::Notify(Aspose.Tasks.ProgressNotificationArgs)Called during project long-running operations to provide progress information.
Aspose::Tasks::LoadOptions::get_ProjectLoadingCallback()Gets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.
Aspose::Tasks::LoadOptions::set_ProjectLoadingCallback(value)Sets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.
Aspose::Tasks::ProgressNotificationArgs::get_#ctor()Initializes a new instance of the class.
Aspose::Tasks::ProgressNotificationArgs::get_CurrentStepName()Gets the name of the current step (part of the operation) being executed.
Aspose::Tasks::ProgressNotificationArgs::get_CurrentStepProgress()Gets the estimated progress percentage completed for the current step (part of the operation) (0-100).
Aspose::Tasks::ProgressNotificationArgs::get_EstimatedTotalProgress()Gets the estimated total progress of the entire operation (0-100).

Related issue: TASKSNET-11298 - Add progress notification API when loading Project from MPP format

Added the IProgressNotificationCallback interface and LoadOptions.ProjectLoadingCallback property to allow users to track progress during long-running project loading operations.

Supported formats: MPP, Primavera XER

Usage example:

var lo = new LoadOptions();
var callback = new TestProgressNotificationCallback();
lo.ProjectLoadingCallback = callback;
Project project = new Project("test.mpp", lo);

internal sealed class TestProgressNotificationCallback : IProgressNotificationCallback
{
    public void Notify(ProgressNotificationArgs args)
    {
        Console.WriteLine("Total: {0}%", args.EstimatedTotalProgress);
    }
}