Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Magick.NET - Problem with x64-dll

$
0
0
Hi,

I am using Visual Studio Express 2013 Web to develop a web-application (MVC 4).

I wanted to integrate Magick.NET (the 64-bit version) in C# but it doesn't work. I tested 2 days long and it's a very frustrating task. I read a lot of information in the web and it seems that I am not the only one with this problem:

This is what I get:

[BadImageFormatException: 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.]


Reading thousand of threads it seems to be that I am trying to load an 64-bit assembly in an 32-bit-environment.


This is what I have done:

I used nuget to install this package: "Install-Package Magick.NET-Q8-x64" (current version 7.0.0.3, but I already tried older versions - with the same result)

With nuget, a reference in my project is created automatically. In the PROJECT-Settings (not solution) I set the "Platform target:" to x64.

When I am starting the integrated IIS Express Web Server I got the error message posted above.

I am using the .Net Framework 4.5.1 and installed both Microsoft Visual C++ 2012 Redistributable (x64) AND Microsoft Visual C++ 2012 Redistributable (x86). The development-machine uses the 64-bit version of Windows 7. The desired server uses a 64-bit OS as well.


Can anybody help?


Best,
Michael

Viewing all articles
Browse latest Browse all 3693

Trending Articles