m1gin 410

Neither installation nor compilation of monodevelop on arch linux were succesful. (2022-03)
I spent many hours but there were some missed packages which I couldn't find. (like glade-sharp-2.0, fsharpc)

So, I thought of testing something... I copied Monodevelop (v7.8.4) files from Ubuntu 20.04 to Arch Linux.

Copied from (Ubuntu): /usr/lib/monodevelop/
Pasted to (Arch Linux): ~/apps/monodevelop/

To run monodevelop on Arch Linux:

  • mono ${HOME}/apps/monodevelop/bin/MonoDevelop.exe
  • mono ${HOME}/apps/monodevelop/bin/MonoDevelop.exe --no-redirect

--no-redirect : Disable redirection of stdout/stderr to a log file

or better, copy the script from /usr/bin/monodevelop on Ubuntu and change the path accordingly to whatever it is on Arch Linux.

After installing mono package, it looks like it's working so far.
But for asp.net projects, xsp4 should be installed using AUR.

  • sudo pacman -S mono
  • yay -S xsp

Some extra packages may be needed:

  • sudo pacman -S gtk-sharp-2 gtk-sharp-3
  • sudo pacman -S mono-msbuild mono-addins mono-tools mono-msbuild-sdkresolver


Error Handling

When a project couldn't be loaded and Monodevelop gave errors like:

  • The type initializer for 'MonoDevelop.Projects.MSBuild.MSBuildEvaluationContext' threw an exception.
  • System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, ....

The solution was:

sudo pacman -S mono-msbuild


Add to: