NativeMethod failed with NullReferenceException under c# ONNX in Windows_NT #21309
Labels
api:CSharp
issues related to the C# API
.NET
Pull requests that update .net code
platform:windows
issues related to the Windows platform
Describe the issue
I have a C# unit test that load an ONNX model and do a prediction. The test works well in my Windows 11 box. But when I tested it in my Windows Server, it failed with a nullreference exception.
I wonder if the ONNX runtime package is compatible with Windows_NT.
Error message:
System information:
OS: Windows_NT
OSArchitecture: x64
OSVersion: 10.0.20348
To reproduce
in a Windows_NT box,
run a dotnet net unit test to load an ONNX model.
I have something like these.
Urgency
No response
Platform
Windows
OS Version
10.0.20348
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.18.0
ONNX Runtime API
C#
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: