Project calendar is not set when saving as an .mpp file

I am using the Project.Calendar property to set the calendar assigned to a project, but it’s not reflected in the file when I save it to a memory stream. Instead, the selected calendar in the “Info” tab of MS Project is the one that was added to the Calendars collection first. Also, if you use MS Project to save the .mpp file in .xml format, the CalendarUID tag is missing as well. Although, it is present when saving using SaveFileFormat.Xml.
What could be the problem?
Aspose.Tasks 23.3.0

@dg2358,
Could you please share your complete sample runnable code with us that we can use to reproduce this problem at our end?

@vasiliy.sinitsyn,
Sorry for my late reply. Just wanted to inform you that this problem is most likely related to my latest request, as the calendar is now set properly after limiting calendar’s name to 51 symbols.

1 Like