Unhandled Exception: System.BadImageFormatException Exception from HRESULT: 0x8007000B


Published neoj using visual studio 2017 and got neoj.exe file under bin\Release\PublishOutput but while running the neoj.exe file it throws:

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

and window show as dotnet has stopped working. Anyone plz Help me to solve this problem.

asked on Stack Overflow Feb 16, 2018 by sagar anbalagan • edited Feb 16, 2018 by cybersam

1 Answer


It was platform problem, i have been using windows 7 in which neoj or neon(neo compiler) doesn't support using visual studio 2017. After i tried in windows 10 it works properly.

answered on Stack Overflow Feb 19, 2018 by sagar anbalagan

User contributions licensed under CC BY-SA 3.0