問題描述
我使用了 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"或其依賴項之一的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!