Aspose.Tasks for .NET 22.8 Release Notes

All Changes

Key Summary Issue Type
TASKSNET-10612 Throw user-friendly exception when a view cannot be rendered with the specified “Fit X to Y pages” options Enhancement
TASKSNET-10610 Change the default value of SaveOptions.Timescale to SaveOptions.DefinedInView Enhancement
TASKSNET-10603 Fix reading of LinkLag for XER and PrimaveraXML formats Bug
TASKSNET-10615 Fix reading of task’s calendars from Primavera XML format Bug
TASKSNET-10607 Fix reading of project’s currency for XER format Bug

Examples and additional notes

Related issue: TASKSNET-10610 - Change the default value of SaveOptions.Timescale to SaveOptions.DefinedInView

Breaking change notice.

Prior to 22.8 the default value of SaveOptions.Timescale was Timescale.Days due to back compatibility considerations. But this value can break WYSIWYG representation of the rendered project when project is saved with default options. For example, consider MPP file with timescale options set to months or quarters. The following code forcibly rendered the project with timescale’s granularity set to days which may be confusing for the user.

project.Save("output.pdf", SaveFileFormat.Pdf);
Now the project by default will be rendered with timescale’s granularity specified in MS Project.