I’ve written a proof of concept application using Aspose.Words in .NET Core 2.0. I am running into an issue in with deploying the application on Ubuntu. I am attempting to convert HTML to DOCX and PDF. This works correctly when running in Visual Studio 2017 on Windows 10. However, when I publish my application and run it on Ubuntu, I get an error “Unable to load DLL ‘libSkiaSharp’: The specified module or one of its dependencies could not be found.” I found that Aspose.Words was referencing the SkiaSharp library when my HTML code has a “code” tag in it that is within <> brackets.
My HTML Code: Test document text…
I have installed the Nuget Package Aspose Words version 18.4.0, which includes SkiaSharp 1.59.1
I am unfamiliar with SkiaSharp. However, looking into SkiaSharp it appears as though it is not supported in .Net Core, and uses Mono libraries to run on Linux/Ubuntu. SkiaSharp (in the nuget repository) only has runtimes for Windows and OSX.
Do you have a solution for deploying Aspose.Words to .NET Core supported platforms or a simple solution for a SkiaSharp workaround in Ubuntu?