Aspose.Slides 23.2 for .NET: Unable to Load DLL 'aspose.slides.drawing.capi_vc14x64'

@orik, @demonspe,
Could you please try using the netstandard2.0 version of Aspose.Slides from NuGet package in your projects?

@orik, @demonspe,
We’ve updated the latest NuGet version of Aspose.Slides for .NET with a hotfix: NuGet Gallery | Aspose.Slides.NET 23.3.1
Please try using it. We will be waiting for your feedback.

Hey @andrey.potapov, it seems like the issue is resolved.

Thanks you for your support

@orik,
Thank you for using Aspose.Slides.

Yes, 23.3.1 work now!
ps: we using it on netstandard2.0 project.

@demonspe,
Thank you for your feedback.

Hitting the same issue with 23.3.1:

System.AggregateException: One or more errors occurred. (Unable to load DLL ‘aspose.slides.drawing.capi_vc14x64’ or one of its dependencies: The specified module could not be found. (0x8007007E))
—> System.DllNotFoundException: Unable to load DLL ‘aspose.slides.drawing.capi_vc14x64’ or one of its dependencies: The specified module could not be found. (0x8007007E)
at System.Runtime.InteropServices.NativeLibrary.g____PInvoke|2_0(UInt16* libraryName, QCallAssembly callingAssembly, Int32 hasDllImportSearchPathFlag, UInt32 dllImportSearchPathFlag, Int32 throwOnError)
at System.Runtime.InteropServices.NativeLibrary.LoadByName(String libraryName, QCallAssembly callingAssembly, Boolean hasDllImportSearchPathFlag, UInt32 dllImportSearchPathFlag, Boolean throwOnError)

@rafaeloliveira,
Have you tried using the netstandard2.0 version of Aspose.Slides 23.3.1 from the NuGet package in your projects?

How can I force it to use the netstandard2.0 version?

@rafaeloliveira,
I requested information from our developers for you and will get back to you as soon as possible.

The issues you found earlier (filed as SLIDESNET-43878) have been fixed in Aspose.Slides for .NET 23.4 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.

@rafaeloliveira,
Please check your results using Aspose.Slides 23.4. If the error persists, please share a sample project.

Is this issue solved on Linux (alpine)?

Hitting the same issue with 23.3.1, and we had the same issue after testing in 23.4.0, which only happened in ppt files. (*.ppt)

@larry0229,
Please share a sample project that reproduces the error.

Please find attached a simple example:
TestAsposeApi.zip (16.1 KB)
Thanks

@larry0229,
Please also share your stacktrace of the error.

WXWorkCapture_16844046122060.jpg (208.5 KB)
Please find attached the error

@larry0229,
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-44005

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

A post was split to a new topic: “Unable to load DLL” Error when Using Aspose.Slides for .NET 23.8 in Docker Container

@larry0229,
We have investigated the problem you encountered. Unfortunately, the cross-platform version of Aspose.Slides for .NET 6.0 does not operate on Alpine. This issue arises because Alpine, by default, supports the musl libc library, while our product is built with glibc. These libraries are not compatible with each other.

Please note that the .NET Standard 2.1 version of Aspose.Slides operates correctly on Alpine under .NET 6.0. However, this version requires the installation of the libgdiplus library.