Hello,
I spent a lot of time trying to use the Aspose.PDF library on a .net environment which runs unit Tests on Ubuntu VM. We followed the instructions mentioned here (How to Install Aspose.PDF for .NET|Aspose.PDF for …...wrote a project with a Xunit test using the code you provided...