Use latest MonoDevelop 6 instead of built-in MD

I installed the latest MD6 via Flatpak on Ubuntu 16.10 + the debugger Add In (from here Releases · eviltak/monodevelop6-unity-addin · GitHub) and want to use it as default editor instead of Unity’s built-in MD5.

However, MD6 is missing essential assemblies like UnityEngine. How can I fix this?

Additionally, how do I configure Edit->Preferences->External Tools to start scripts with MD6 from the Unity Editor? When I set “External Script Editor” to MD6’s .desktop file, the field “External Script Editor Args” is gone and I have to delete the Unity’s editor preferences to use the built-in editor again. A bug?

The UnityEngine assembly should be referenced in the csproj for your project. If you’re missing system assemblies, you may need to install the mono-reference-assemblies-2.0 and mono-reference-assemblies-3.5 packages.
The external script editor field should point to the launcher script for MD (in older versions of MD, it was a file called monodevelop in a bin subfolder, not sure about MD6), not the .desktop.

Thanks for your response, Tak!

I have already installed the package “mono-complete”, which would be removed if I’d install these two packages. Is it ok to have that package instead?

There is a monodevelop-file in “/var/lib/flatpak/app/com.xamarin.MonoDevelop/x86_64/stable/active/files/bin”. When I use that file, I can start MD6 and it finds the UnityEngine assembly.
However, some settings are gone when I start MD6 from Unity. For instance, the set of available skins is different (and missing the new dark theme). Also, I had to install the Add Ins again, so I guess, starting it this way is not really how it is supposed to be?

Hey Tak, when setting up MD the way you describe it you have two more problems:

  1. You cannot open Scripts from Unity, it just brings up MD
  2. MD can be opened multiple times when you start it from Unity Editor

How can these issues be fixed?