Replies: 1 comment
-
It looks like p.s. Support for .NET Framework 2.0 will be removed in August with version 12.0.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use ImageMagick quite often on Linux, since it's a very powerful tool when it comes to image manipulation tasks.
So I decided to use this Magick.NET wrapper in a VB.NET application I'm writing, but I'm facing an issue that someone else already had here and that seems to be more complicated then I thought.
I created a temporary Visual Studio 2008 project to test the library and see what it can do.
In order to import the library I downloaded:
After that, I imported the DLLs in the project and everything was fine, I was able to get Intellisense suggestions on the library objects and methods. Then I wrote this line of code
Dim tmpImg As New ImageMagick.MagickImage(imgPath)
and the application threw this exception:
Looking at the inner exception I found this:
At this point I started digging on the web, to see if anyone encountered this thing before me and I found this question and several others.
Scrolling through the thread, I read that in that case was only a matter of adding a
System.Drawing
reference to the project to make the exception go away, but in my situation it didn't solve the problem.I also granted full access to the application and compiled it for x86. I didn't copy the DLLs into
C:\Windows\System32
andC:\Windows\SysWOW64
directories, because I don't want to make system wide alteration to only test the feature of a library and because it doesn't make any sense since I already have those libraries copied in the application Debug folder and imported into the project.As I wrote at the beginning, I am using Visual Studio 2008 Professional on a Windows 10 Pro (21H2) machine.
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions