Reputation: 1913
I have difficulties trying to instantiate compressor from LibDeflate.NET library:
using (var compressor = new DeflateCompressor(5)) {}
Error during compression: Unable to load DLL 'libdeflate': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Under .NET Core and higher, runtime libraries are copied to the subfolder:
I took 32 bit version of libdeflate.dll
and placed in the Debug
directory. Still it cannot find it. However if I take 64 bit one, then it says it is the wrong image. So .. it reads 32 bit but for some reason doesn't want to load it.
Everything under .NET 6.0 (tested before) works as expected.
Upvotes: 0
Views: 68