Pechkin with Windows Azure

孤人 提交于 2019-12-06 13:47:59

问题


I'm getting this error whenever I try to debug the Azure project from Visual Studio. I checked on my original site project file the Platform Target and project's and every dependence as well are using "Any CPU". Not really sure what to do from here.

Could not load file or assembly 'Pechkin' or one of its dependencies.


回答1:


Are you running 32 bit allowed? Lots of docs out there talk about this being a limitation. mark as the answer please if that is the problem. There are solutions as well. apparently a guy did a fork called tuesPechkin with 64 bit versions.




回答2:


It's not possible to get wkhtmltopdf working on Azure. See this thread and this Gitgub issue.

I am assuming you mean running wkhtmltopdf on Windows Azure Websites.

wkhtmltopdf uses Window's GDI APIs which currently don't work on Azure Websites.

A solution could be to create a Windows service (or for example a web api endpoint), which runs the Tuespechkin converter. Then create a VM in Azure and install the Windows service/end point there.



来源:https://stackoverflow.com/questions/23059144/pechkin-with-windows-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!