-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native dll is missing in the AnyCPU nuget package in version 7.14.0 #467
Comments
As you can read in |
When I install with Magick.NET-Q16-AnyCPU-7.14.0 nuget package, it throw with the following exception:
However, it is no problem when I install with Magick.NET-Q16-x64-7.14.0 nuget package only means it does not work without runtimes folders. |
It looks like your application cannot create the folder for the embedded resources in |
I tried with MagickAnyCPU.CacheDirectory = "C:\temp\" and everyone with full permission. There is no files outputted in that folder. When I step in with source code, the method "NativeLibraryLoader.Load" has not called so the embedded resource has not extracted. |
Are you using the .netstandard2.0 version of the library or the net4.0 one? |
netstandard2.0, my project is asp.net core 2.2 and targetFramework is netcoreapp2.2 |
Then you will need to switch to the x64 version. At this moment there is no AnyCPU support for the netstandard2.0 build. |
It is breaking change! It works on Magick.NET-Q16-AnyCPU v7.13.1 but developers have to install x64 version when v7.14.0. |
That was never my intention but I will take a look at this later tonight to confirm this. |
Well it looks like you are right. It seems that I added support for the AnyCPU build for all platforms at some point in time. I really don't remember that I did this. But I will make sure I will publish a new release this weekend or next week to resolve your issue. Thanks for reporting this 👍 |
Is this on NuGet yet? Also, when was this bug introduced - what version can I roll back to to fix it? |
If you would read this issue you can get all the information that you are asking? |
Prerequisites
Description
The native dll is missing in AnyCPU package comparing with x64 version.
Magick.NET-Q16-AnyCPU nuget package
Magick.NET-Q16-x64 nuget package
The text was updated successfully, but these errors were encountered: