Browse our Products

Aspose.Tasks for .NET 21.1 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-4597Add support for ‘Task Summary Name’ field.Enhancement
TASKSNET-4631Fix incorrect position of not fit task labels when rendering Gantt chart viewBug
TASKSNET-4628Fix incorrect error message shown when trying to read a list of projects from empty Project Online accountBug
TASKSNET-4599Fix application of bar styles with non-default names when rendering Gantt chart viewBug
TASKSNET-4588Fix exception when trying to add a new task in XER projectBug
TASKSNET-4601Fix duplicated resources when reading XER of P6XML fileBug

Pay attention, if you use Aspose.Tasks for .NET Standard as DLL reference (not NuGet version), please update ‘System.Drawing.Common’ and ‘System.Text.Encoding.CodePages’ dependencies up to date.

Public API and Backwards Incompatible Changes

The following public enumerations were added:Description
Aspose.Tasks.Visualization.Shape.DiamondIndicates Diamond shape.
Aspose.Tasks.Field.TaskSummaryNameThe name of the summary task associated with the task.
The following public methods and properties were added:Description
Aspose.Tasks.View.#ctor(ViewScreen)Initializes a new instance of the class which can be displayed in the specified ViewScreen.

Examples

Related issue: TASKSNET-4597 - Field ‘TaskSummaryName’ can be used in view’s columns

In order to show ‘TaskSummaryName’ column in exported document the next code sample can be used:

var field = new TableField
{
    Field = Field.TaskSummaryName,
    Title = "Task Summary Name",
    Width = 30
};

project.Views.ToList()[0].Table.TableFields.Add(field);