无法加载文件或程序集“Magick.NET-x86.DLL"或其依赖项之一 [英] Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies

查看:15
本文介绍了无法加载文件或程序集“Magick.NET-x86.DLL"或其依赖项之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了 Magick.NET,它是 ImageMagick 的 .NET 包装器,它会在客户端计算机上引发上述错误.不过,它在我的机器上运行良好.我还没有安装 ImageMagick,所以我根本无法理解我需要在客户端机器上做什么.我已经安装了 VS 2012.

I have used Magick.NET which is a .NET wrapper for ImageMagick, and it throws the above error on a client machine. It works fine on my machine though. I have not installed ImageMagick so I simply can't understand what I need to do on a client machine. I have VS 2012 installed.

此外,Magick.NET 在其中包含 ImageMagick,我认为它使用 C++/CLI 并向本机 ImageMagick 公开一个 .NET 接口,所有这些都在单个 DLL 中.那么它需要什么DLL呢?

Also, Magick.NET includes ImageMagick within it, I think it uses C++/CLI and exposes a .NET interface to the native ImageMagick, all within a single DLL. So what DLL does it need?

(我刚刚遇到这个错误,所以发布了我找到的解决方案.)

(I just came across this error so posting the solution I found.)

推荐答案

Magick.NET 需要 VC 2012 Runtime 已安装,Magick.NET V7+ (.NET 4.0) 需要 2012 和 VC 2015 运行时已安装.下载并安装在客户端机器上.如果它弹出一个修复或卸载"对话框,那么它已经安装,你可能缺少另一个依赖项.如果没有,请安装 VCR 并重新启动您的应用.

Magick.NET needs the VC 2012 Runtime installed, and Magick.NET V7+ (.NET 4.0) needs 2012 and the VC 2015 Runtime installed. Download and install on client machine. If it pops up a "repair or uninstall" dialog then its already installed and you might be missing another dependency. If not, install VCR and restart your app.

这篇关于无法加载文件或程序集“Magick.NET-x86.DLL"或其依赖项之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆