imazen/imageflow-dotnet

Unable to load imageflow.dll

alexandruIonutZ opened this issue · 1 comments

I use imageflow library in a .net 7 application. When I build the solution, the Imageflow.Net.dll is generated but the imageflow.dl is not.

Looking for "imageflow.dll" RID="win-x64", IsUnix=False, IsDotNetCore=True RelativeSearchPath=""\nBefore searching: Unable to load DLL 'imageflow' or one of its dependencies: The specified module could not be found. (0x8007007E)\nFile not found: \bin\Debug\net7.0\x64\imageflow.dll\nFile not found:
\bin\Debug\net7.0\imageflow.dll\nFile not found:
\bin\Debug\net7.0\runtimes\win-x64\native\imageflow.dll\n at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflowAbiVerMajor, UInt32 imageflowAbiVerMinor)\r\n at Imageflow.Bindings.JobContextHandle.<>c.<.ctor>b__0_0()\r\n at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)\r\n"

I solved the problem. It was necessary to install Imageflow.NativeRuntime.win-x86_64 in the source application. Thank you very much.