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

查看:207
本文介绍了无法加载文件或程序集“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并将.NET接口暴露给本机ImageMagick,所有在一个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 Runtime 。下载并安装在客户端计算机上。如果它弹出一个修复或卸载对话框,那么它已经安装好了,你可能会缺少另一个依赖关系。如果没有,请安装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天全站免登陆