Closed oleg-sviridov closed 4 years ago
It problem with magic.mgc. This file should be copied into your app directory while publishing See https://github.com/hey-red/Mime/issues/36#issuecomment-690187800
Oh, I did't include this runtime! Wait for new package.
Done https://www.nuget.org/packages/Mime/3.2.1 Let me know if that helped.
Now it works fine, thanks a lot!
Hello, I am trying to make your library work on Alpine container and I see that you have recently updated runtimes to support linux-musl-x64 in MIME 3.2.0 . However I still get errors like "HeyRed.Mime.MagicException : Could not find any valid magic files!" in my Alpine container. I have noticed that my project.assets.json still looks like this:
I am not very familiar with runtimes and nuget packages, but can it be the issue that "linux-musl-x64" is still missing from "runtimeTargets" or I should look at somewhere else? Thanks