将我的项目部署到 Amazon Elastic Beanstalk 时出现以下错误:
Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found.
我在 bin 文件夹中有许多其他 DLL,而这是唯一一个引发此错误的 DLL。据我所知,DLL 没有任何依赖关系。
在本地运行时我没有收到此错误,并且 dll 在高级选项中设置为“不复制”,就像其他 DLL 一样。
我正在运行 ASP.NET 4.5 / C# 项目
在 Elastic Beanstalk 的 EC2 服务器上运行依赖walker,我得到:
在 Elastic Beanstalk 上启动我的项目时,如何加载此 dll?