I still remembered the pain of running MonoDevelop 7 on FlatPak on Linux, but today finally decided to give the alternative way a go, and indeed it worked. So here is the story.
So this time I switched to Debian 8.
Luckily the steps for Mono 5 installation on Debian worked flawlessly.
So this guy amazingly maintains an alternative installer for MonoDevelop 7. I downloaded its latest release, and followed the readme steps to install.
OK, this time you should see a MonoDevelop Stable launcher in GNOME to launch the IDE. Or if you prefer command line, run
You probably would like to run a hello world project to test it out like I did. Then you probably would hit this famous error (“Could not connect to the debugger”. Well, guess what, it is quite simple to fix it.
Open the project options (you should know how to do so). It is very likely that “Run on external console” is checked (as it is the default setting), under Run -> Configurations -> Default.
You have to uncheck this option. Then MonoDevelop would use its integrated terminal to run the console project.
If you happen to want to run xUnit.net test cases (when the project is not .NET Core based), you need to manually install the extension I maintain from here.