This project is read-only.

Strong name



I am trying to implement a project that It needs to convert AI file to PNG file.
But I fail to import ImageMagick.NET to my project as a reference because of the strong name.
I have tried the traditional ildasm and ilasm to link my snk key file, but it returns failure on ilasm with no error message.
I have also tried StrongNaming from with a similar result that It seems fails on reassemble the file.

Is there an other way to due with the strong name?


dlemstra wrote Sep 2, 2013 at 8:01 AM

I have created a new .NET wrapper for ImageMagick that is strong named. You can find it here:

sjssing wrote Sep 3, 2013 at 5:06 AM

Thx for the reply.

I have tried your library and it is fine to import the DLL as a reference.
However, an other error message come out when I execute the project.
When the project import the suggested download Magick.NET-x86.dll, a message
"Could not load file or assembly 'Magick.NET-x86' or one of its dependencies. The specified module could not be found. "
comes out. I have check my application pool to enable 32 bit application and also I have installed the assemble to GAC using gacutil.
Unfortunately, nothing has change.

Then I download the 64 bit version Magick.NET-x64.dll, it comes out
"Could not load file or assembly 'Magick.NET-x64' or one of its dependencies. An attempt was made to load a program with an incorrect format."
with a BadImageFormatException. It is a little bit unusual because my project is supposed to run in a 64 bit server.

dlemstra wrote Sep 3, 2013 at 8:40 AM

Did you install the Visual C++ Redistributable as described here: You will receive a BadImageFormatException when you try to load a 64bit dll in a 32bit application pool (disable: enable 32 bit application). If you have more questions feel free to start a topic here: