-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
.NETPull requests that update .net codePull requests that update .net codeapi:CSharpissues related to the C# APIissues related to the C# APIstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
Description
Describe the issue
I have installed OnnxRuntime for C# using the NuGet package manager, it is working fine with my device.
but when I try to install the .net application with the model in other PC's I get: error loading image: The type initializer for 'Microsoft.ML.OnnxRuntime.NativeMethods' threw an exception.
Object reference not set to an instance of an object.
at Microsoft.ML.OnnxRuntime.NativeMethods..cctor() in D:\a_work\1\s\csharp\src\Microsoft.ML.OnnxRuntime\NativeMethods.shared.cs:line 368
To reproduce
Urgency
No response
Platform
Windows
OS Version
11/ 10
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.20.1
ONNX Runtime API
C#
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeapi:CSharpissues related to the C# APIissues related to the C# APIstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
