-
Notifications
You must be signed in to change notification settings - Fork 171
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
Compatible with .net Core 2.0 and Linux? #132
Comments
It sounds like a local issue. You might check this and see if it helps: https://forums.aws.amazon.com/thread.jspa?messageID=826759&tstart=0 |
I don't believe that's related, since I can publish just fine without MetadataExtractor. (And also publish just fine with several other external packages; e.g. SkiaSharp, ImageSharp, LibTiff.net). Has anyone successfully uploaded MetadataExtractor 2.0.0 to AWS Lambda, running .net Core 2.0? |
I may have discovered the issue. The following are the errors that Visual Studio is complaining about, when it attempts to publish MetadataExtractor. And it seems "there's no other option than the package owner to upgrade their references": https://stackoverflow.com/questions/47712035/
So, is this something that MetadataExtractor has to fix? |
I've seen these errors in other situations before and IIRC got it working via assembly redirects in my consuming package. There may be better upstream solutions, as you say, but I'm not an expert. You may find that this workaround gets things working for you: If you need the library to change in some way, could you make a PR? |
This error occurs when 'dotnet publish' is called, so yes, you should definitely fix it. I imagine it does/will effect a lot of people. Replicate the issue by creating a .net Core 2.0 project that includes MetadataExtractor, then try to publish that project. "If you need the library to change in some way, could you make a PR?" Is this a problem you can fix or not? |
Yes a PR is a pull request. No better time than the present to make your first.
I like to think I can fix any problem given enough time and focus. Unfortunately in this case I am focussed elsewhere, which is why I asked for your help. You know more about the issue than me. It seems that updating the packages to their latest versions is not a long term solution, as your other dependencies may update which then leads back to this situation again in future. The fix should address the root of the problem, not the symptom. |
Well I appreciate the vote of confidence, but you're giving me too much credit. I have no idea where to even begin to fix the problem. All I know is, include MetadataExtractor in your .net Core 2.0 project, and it will no longer publish to AWS. So until someone is able to fix MetadataExtractor, it appears it will not work for any Amazon projects, yes? |
FYI, I was able to resolve this by installing |
Is metadata-extractor-dotnet compatible with .net Core 2.0 running on Linux?
I am publishing .net Core 2.0 code to AWS Lambda, which runs on Linux. If I add MetadataExtractor 2.0.0 to my Visual Studio project, the publish to AWS fails.
I publish to AWS using the AWSSDK for Visual Studio 2017. It doesn't give any details on why the publish fails. It simply says "Error uploading function" and "Upload failed."
If I uninstall MetadataExtractor, then the project publishes fine.
Any idea what's going on, and how to resolve it?
The text was updated successfully, but these errors were encountered: