Replies: 2 comments 1 reply
-
You should be able to use the library in that project but it seems that you manually need to copy the native library from the runtimes folder of the NuGet package. I might be able to automate that if you provide me with a sample project that I can open in VisualStudio on Windows. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome thank you. Here is a standard XF project with Magick.Net added. I will try your manual copy suggestion. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can this library be used with Xamarin Forms (.Net Satandard 2.0)?
I created a new XF project and added Nuget package Magick.NET-Q8-AnyCPU 7.19.0 to all projects.
I have this code:
using (MagickImage image = new MagickImage(stream))
On iOS i get the following error:
System.TypeInitializationException: 'The type initializer for 'NativeMagickSettings' threw an exception.'
and Android:
System.DllNotFoundException: 'Magick.Native-Q8-x86.dll assembly: type: member:(null)'
How can I fix this?
Thanks
Mark.
PS. Can provide a sample project if it would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions