Is not possible to load Magick.NET on Mono Framework
See original GitHub issueHi,
I’m trying to run the Magick.NET on one of my project. I tried everything to make it work but I didn’t find any solution.
I’m taking this error:
Could not load signature of ImageMagick.MagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. assembly:PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:<unknown type> member:<none> Could not load signature of ImageMagick.IMagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. assembly:PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:<unknown type> member:<none>
When I put PresentationCore.dll to the project folder, error is disappearing but Magick.NET still does not work.
I have Magick.NET files in my project folder. Magick.NET-Q16-HDRI-x64.dll Magick.NET-Q16-HDRI-x64.Native.dll.so Magick.NET-Q16-HDRI-x64.xml
and also libraries are there
linux-vdso.so.1 => (0x00007ffe14f0f000) libMagickCore-7.Q16HDRI.so.4 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.4 (0x00007f7ffa2c3000) libMagickWand-7.Q16HDRI.so.4 => /usr/local/lib/libMagickWand-7.Q16HDRI.so.4 (0x00007f7ff9fb9000) libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f7ff9d60000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7ff9a57000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7ff968d000) libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f7ff946b000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7ff9255000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7ff9038000) /lib64/ld-linux-x86-64.so.2 (0x00007f7ffaaa0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7ff8e34000)
I really don’t know what is wrong… Can you help me?
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (8 by maintainers)
Top GitHub Comments
I never hurts to help. I am happy we could resolve this issue together. Thanks for helping me with this. And this will probably also help other users who want to run Magick.NET with Mono.
Can I use this with Xamarin forms?