C# 调用yolo onnx识别,放在客户电脑上报错 The type initializer for 'Microsoft.ML.OnnxRuntime.NativeMethods' threw an exception

C#  调用yolo onnx识别,放在客户电脑上报错 The type initializer for 'Microsoft.ML.OnnxRuntime.NativeMethods' threw an exception

 

 

 

 

需要下载安装VC++

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

图片

 

posted @ 2025-08-05 18:07  柏泊  阅读(70)  评论(0)    收藏  举报