Hello GroupDocs Support,
We are experiencing an XLSX-to-PDF conversion failure using GroupDocs.Conversion for .NET 26.10.0 in an Azure Function App.
The conversion succeeds when running the function locally, but fails after deployment to Azure. The environment in which it fails has the following details:
Application: Azure Functions v4, .NET isolated worker
Target framework: .NET 10
Azure hosting OS: Windows
GroupDocs.Conversion: 26.10.0
SkiaSharp and SkiaSharp.NativeAssets.Win32 versions: 4.152.1
Steps to reproduce:
Deploy the Azure Function App.
Trigger conversion of an XLSX document to PDF.
Conversion fails during the underlying Aspose.Cells workbook save operation.
The following exception is thrown:
GroupDocs.Conversion.Exceptions.MissingDependencyException:
Cannot convert. A required component is not available in the
application's output. Install the native library it needs on the machine.
---> System.TypeInitializationException:
The type initializer for 'SkiaSharp.SkiaApi' threw an exception.
---> System.DllNotFoundException:
Unable to load DLL 'libSkiaSharp' or one of its dependencies:
The specified module could not be found. (0x8007007E)
at SkiaSharp.SkiaApi.sk_version_get_milestone()
at SkiaSharp.SkiaSharpVersion.get_Native()
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(...)
at SkiaSharp.SkiaApi..cctor()
at Aspose.Cells.Workbook.Save(Stream stream, SaveOptions saveOptions)v
We recently upgraded from GroupDocs.Conversion 26.7.0 to 26.10.0. Comparing the resolved dependencies shows that SkiaSharp changed from 3.119.2 to 4.152.1. Excel conversion was working before this upgrade (although 26.7.0 had an error with a missing dependency on Aspose.Drawing, which is fixed in 26.10.0).
Are you able to help with this and answer the following questions:
Do you know if this a known issue with GroupDocs.Conversion 26.10.0 or its SkiaSharp 4.152.1 dependency in Windows Azure Functions?
Are there additional native prerequisites required by this version that might be present locally but absent from Azure’s managed Windows environment?
Is an explicit win-x64 or win-x86 publish required?
Is there a supported workaround or updated GroupDocs release that addresses this failure?
Please let us know which additional diagnostics would help identify the cause, or if you need any other additional information.
Kind regards,
Malcolm