So a quick background - I am running an application called OpenFace - a facial behavior analysis toolkit. Its written in C++ but they have COM interops which allows me to use it within a NET framework realm. I have it working fine locally via .NET Framework 4.7.2 console application.
Running this via an Azure Function is ideal - barrier it with an API. I have successfully got it debugging as an Azure Function:
HOWEVER, this wasnt very straightforward to get working. I had to manually download version 1.0.19 x64 and point the debug executable to the func.exe.
For some reason the x64 version doesnt appear within 1.0.20? Anyway version 1 is required as this isn't NET Core ready.
To publish I ensured the x64 platform was set correctly and runtime version set to 1:
However as per my original error locally (before resolving by using x64 func.exe) I get the error on the server
_Could not load file or assembly 'CppInerop.dll' or one of its .....
Just a FYI, I think tools 1.0.19 ~ 1.0.12299.0 runtime? I'm going to assume having this version might solve the issue? Or is it sadly that this application wont be able to run on Azure and will need to make another plan?