When trying to have an application work with an ONNX model I downloaded from the Microsoft Custom Vision portal, I got the following exception:
TypeInitializationException: EntryPointNotFoundException: Unable to find an entry point named 'OrtGetApiBase' in DLL 'onnxruntime'.
Searching for the error online did not yield any solutions. After solving the problem, I wanted to share the solution for anyone else running into the same exception.