1

enter image description here

I had this error after I deployed the Azure Service application (web application).

I reinstalled the Azure.AI.Vision.Core from Nuget, but it didn't fix it.

Has anyone experienced this error?

MD. RAKIB HASAN
  • 3,670
  • 4
  • 22
  • 35
  • Please provide enough code so others can better understand or reproduce the problem. – Community Apr 13 '23 at 08:18
  • The dll file must be missing from the ...bin/Debug directory. Have you tried locating it in the reference manager and making sure it is checked? – Justin Edwards Apr 17 '23 at 00:16

1 Answers1

0

I had a similar problem (an "unable to load DLL 'Azure-AI-Vision-Native'" error when deployed to an Azure app service). This response to a similar problem pointed me in the right direction...namely, changing my app service to 64 bit under "Configuration" >> "General settings" in the Azure portal:

enter image description here

Apparently, the Azure AI libraries are 64 bit-only.

Matt Peterson
  • 5,169
  • 4
  • 32
  • 34