We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Unable to load DLL error

Dear Team,
We are trying to use Aspose.Words within one of our Azure Function. In local everything seems to be working fine. But when we publish to Azure, we are getting below missing DLL error. Please let us know what needs to be done to rectify the issue.

Unable to load DLL ‘libSkiaSharp’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Azure Function Runtime version: 2.0.12590.0 (~2)
Aspose.Words Version 19.7.0

We are using the following lines in function.proj to restore the Aspose nuget package


netstandard2.0




Thanks & Regards
Anish

@Anishc

Please remove Aspose.Words and SkiaSharp references from your project and Clean it. Please do a fresh installation of latest version of Aspose.Words for .NET i.e. 19.7 through NuGet.

Please refer to the following article.
Installing Aspose.Words for .NET through NuGet

@tahir.manzoor

Thanks. Actually we tried this approach but no help. Please note we are using the Azure Portal to create the function (.csx) so the nuget restore happens if we have any entry in function.proj file. We don’t see any errors during the package restore

PackageReference Include=“Aspose.Words” Version=“19.7.0”

@Anishc

You can download SkiaSharp DLL and add it to your project manually. Hope this helps you.

Could you please share the steps that you are using to reproduce this issue at our end? Thanks for your cooperation.