Ha, blimey, you’re absolutely right. So here’s a weird thing! I’ve just created a brand new Monogame 3.8 OpenGL test project. Compiled it on my Windows 10 machine, copied the binaries over to Linux. The executable is called OpenGLTest.exe, so in the terminal window I type…
mono OpenGLTest.exe
Error, file does not contain a valid CIL image.
Tried loads of stuff, reinstalled mono, dot net core, file executable permissions, tear out what’s left of my hair, then I’m just about to give up when I decide to try…
mono OpenGLTest.dll
…and it just works!
So is the .exe file used when running on Linux?