Browse our Products

Aspose.Tasks for .NET 22.6 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-10556Add IsRoot property to Resource objectEnhancement
TASKSNET-10553Add properties to access ResourceAssignment’s Task and ResourceEnhancement
TASKSNET-10469Add support of reading of User Defined Types for Primavera P6 XML formatEnhancement
TASKSNET-10554Fix incorrect calculation of Asn.Finish for assignments with Asn.Units not equal 1Bug
TASKSNET-10552Fix NullReference exception when reading/writing file with absent “TBknAssn.Props” streamBug
TASKSNET-10569Fix resource rate’s RateTo property is set incorrectly when reading project from Primavera P6 XML formatBug

Public API and Backwards Incompatible Changes

The following public methods and properties were added:Description
Aspose.Tasks.OutlineCode.#ctor(Aspose.Tasks.OutlineCodeDefinition,Aspose.Tasks.OutlineValue)Initializes a new instance of the class using the specified Outline Code and one of its values.
Aspose.Tasks.Resource.IsRootGets the flag indicating whether resource is a root resource.
Aspose.Tasks.ResourceAssignment.TaskThe task to which a resource is assigned.
Aspose.Tasks.ResourceAssignment.ResourceThe resource assigned to a task.

Examples and additional notes

Related issue: TASKSNET-10553 - Add properties to access ResourceAssignment’s Task and Resource

Task and Resource read-only properties were added for more convenient access to frequently used properties.

Project project = new Project("test.mpp");
var assignment = project.ResourceAssignments.GetByUid(1);

// Before: 
var taskName = assignment.Get(Asn.Task).Get(Tsk.Name);
// After:
taskName = assignment.Task.Get(Tsk.Name);