reading (using ProjectReader.Read()) the attached XML file doesn't give the correct DaysOfWeek value. The attached xml file contains a few calendar exceptions, and the one named "weekly" is the one that isn't handled correctly.
I have tested the issue with the latest Aspose.Tasks 2.7.0 version and can repeat it on my side as well.
I have created two issues ‘Missing DaysOfWeek in CalendarException.’ with ID = 16022 and ‘Got an exception: ‘System.InvalidCastException : Specified cast is not valid.’ when read and export the attached xml file back into xml.’ with ID = 16024 and linked them to this forum thread.
We are going to fix the issues in this month release (end of April).