From 8a7b6761dec568d01dad7677875b9f07b018484b Mon Sep 17 00:00:00 2001 From: shahasad <43590019+shahasad@users.noreply.github.com> Date: Thu, 3 Jan 2019 19:52:21 -0800 Subject: [PATCH] changed nativeLib name from onnxruntime.dll to onnxruntime, for cross platform (#275) --- csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.cs b/csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.cs index 136655d8c2..fa02f0fef1 100644 --- a/csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.cs +++ b/csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.cs @@ -12,7 +12,7 @@ namespace Microsoft.ML.OnnxRuntime internal static class NativeMethods { - private const string nativeLib = "onnxruntime.dll"; + private const string nativeLib = "onnxruntime"; internal const CharSet charSet = CharSet.Ansi; #region Runtime/Environment API