A community member has associated this post with a similar question:
How to reference the native Onnxruntime.dll in my app installed from Nuget in my app .Instead of from System32
Only moderators can edit this content.
How to reference the onnx Runtime in the wpf .net framework 4.7.2 app?
Vishal2 Bansal
285
Reputation points
- Hi i have created a class library in c# visual studio in .net standard 2.0. a. It has onnxruntime ,opencvsharp etc dependencies.
- Now i am building this library and using it in my WPF UI application. But i am getting following error. The given version [14] is not supported, only version 1 to 10 is supported in this build. Exception thrown: 'System.NullReferenceException' in Microsoft.ML.OnnxRuntime.dll Object reference not set to an instance of an object.
Developer technologies | Windows Presentation Foundation
Developer technologies | Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Developer technologies | .NET | Other
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
{count} votes
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
2 deleted comments
Comments have been turned off. Learn more