When opening a MS Project file and saving, dates appear in the saved copy that did not exist in the original copy.
The code:
var stream = new FileStream(filePath, FileMode.OpenOrCreate);
var project = new Project(stream, new LoadOptions());
project.Save(newfilePath, SaveFileFormat.MPP);
The before and after files can be compared in MS Project.
We were able to reproduce this issue and it has been logged with ID “TASKSNET-2905” for further investigation. You will automatically be informed here once we have more information to share.
I have observed the image shared by you and have reopened the ticket based on shared information. We will share good news with you as soon as issue will be fixed.
@JohnGrahamLT Hello! We checked the next code sample on the version 19.3 and cannot find the issue you’re talking about.
using (var stream = new FileStream("projektek_2018-BZ_RI.mpp", FileMode.OpenOrCreate))
{
var project = new Project(stream, new LoadOptions());
project.Save("out.mpp", SaveFileFormat.MPP);
}
The task “2018_285 projekt” in file “projektek_2018-BZ_RI.mpp” contains the predecessor link but MSP does not show it. But the file resaved by AT makes MS Project show it and this behavior is correct.
Thank you for sharing the details. An issue with ID TASKSNET-3197 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
Regarding TASKSNET-3197, can you tell us the conditions in the .MPP file in which this problem occurs? We want to be able to prevent this and we want (most importantly) to know how serious this problem is. We don’t know how to make a new .MPP file that has this problem and just have no idea how serious this is or if it’s super rare.