Inconsistencies between saved project and generated pdf


#1

When generating a pdf of a project file, not all of the project lines are displaying in the generated pdf. I am just using project.Save(stream,SaveFileFormat.PDF).


#2

@davno,

I have observed the information shared by you and request you to please share the source code and Project file along with generated PDF for reference. Please first try using latest Aspose.Tasks for .NET 19.7 on your end as well.


#3

Aspose.Tasks_19.7.zip (204.9 KB)

The .zip contains the same project file saved in 2 different states as well as the generated pdf’s. There are lines missing in the pdf for both.

Code used was just a basic save to pdf:

    private void CreateTestPdf(string sourcePath, string targetPath)
    {
		EnsureLicense();
        var project = new Project(sourcePath);
        project.Save(targetPath, SaveFileFormat.PDF);
    }

#4

@davno,

I have observed the issue shared by you. An issue with ID TASKSNET-3425 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.