我正在开发ASP.net web api(.NET Framework)并使用“Microsoft Office Document Imaging”v12。 在我的本地系统上,它工作正常。但后来我把它放在我的天蓝色的web应用程序,我得到了以下错误:使用“Microsoft Office Document Imaging”获取Azure Web App上的错误
Could not load file or assembly 'Interop.MODI, Version=12.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
我敢肯定,我必须安装“微软Office Document Imaging中”。但是,当我仅使用Azure Web App时,我该怎么做?
编辑:我发现了一个更好的方法来解决我的问题:https://azure.microsoft.com/de-de/services/cognitive-services/computer-vision/
谢谢您的回答! 我使用MODI从文档/图像中提取单词。Aspose.Words也可以吗? 我看到也有Aspose.OCR,但它的成本太高,我的需求.. –
我建议你可以考虑使用天蓝色的虚拟机。正如我上面的天蓝色网络应用沙箱[链接](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#unsupported-frameworks)所说,天蓝色的网络应用只支持第三方转换工具。所以如果你使用sadbox不支持的工具,你将面临同样的错误。 –