owen
owen
I found a better way to solve this problem,as following: var location = GetBinPath(); public static string GetBinPath() { string baseDir = AppDomain.CurrentDomain.BaseDirectory; // Note RelativeSearchPath can be null even...
I finally modify SetWinDllDirectory method as following: private static void SetWinDllDirectory() { var path = GetBinPath(); var platform = Environment.Is64BitProcess ? "x64" : "x86"; if (!SetDllDirectory(Path.Combine(path, platform))) Trace.TraceWarning($"{nameof(ZstdNet)}: Failed to...