Expose PreloadNativeLibs in non-debug builds for CI
@@ -561,7 +561,6 @@ namespace MiningCore
Console.WriteLine(new Blake().Digest(Encoding.UTF8.GetBytes("test"), 0).ToHexString());
}
-#if DEBUG
[DllImport("kernel32.dll", SetLastError = true)]
private static extern IntPtr LoadLibraryEx(string lpFileName, IntPtr hReservedNull, uint dwFlags);
@@ -595,6 +594,5 @@ namespace MiningCore
Console.WriteLine($"Unable to load {path}");
}
}
-#endif
}
}
