I’m trying to run a MonoGame 3.8 build on my Ubuntu machine.
I created a new project with template “MonoGame Cross-Platform Desktop Application (OpenGl)” in VisualStudio2019 on Windows10. It compiles and runs fine on Windows10. When running the release on my Ubuntu machine it gives an error.
ERROR: Cannot load assembly (bad file format) Exception of type ‘IKVM.Reflection.BadImageFormatException’ was thrown.
I tried different solutions with same result:
- mono Game1.exe
- mkbundle Game1.exe --simple -o Game1Build
- monogame.kickstart (https://github.com/MonoGame/MonoKickstart)
Anybody have an idea what I need to do to make it work on Linux (Ubuntu) ?