Skip to content
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

BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) #23

Closed
g4genious opened this issue Mar 11, 2018 · 3 comments

Comments

@g4genious
Copy link

Hi,

We are using it in asp.net core2.0 and getting the following exception on

HeyRed.Mime.MimeGuesser.GuessMimeType("filepathhere")

Exception message:
BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

@hey-red
Copy link
Owner

hey-red commented Mar 11, 2018

You are run it in 32 bit OS? #10 (comment)

@g4genious
Copy link
Author

No.
Win 10 64 bit. Visual Studio 2017 community edition, latest version.

@hey-red
Copy link
Owner

hey-red commented Mar 11, 2018

Project target AnyCPU or x64?

x64

@hey-red hey-red closed this as completed May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants