Monodevelop
MonoDevelop is an IDE primarily designed for C# and other .NET languages. It is also cross compatible, as in; it will run under windows as well as Mac OSX and Linux.
Prerequisites
MonoDevelop (also known as Xamarin Studio) is an open-source integrated development environment for Linux, macOS, and Windows. Its primary focus is development of projects that use Mono and.NET Framework. MonoDevelop is a free and open-source IDE for Mono/.NET. It has support for C# and F# programming languages, with releases 4.x-5.x also including support for C/C projects. It is built using the Gtk# toolkit, is written in C# and is in the official repositories of Fedora. Installation DNF. To install MonoDevelop using DNF run. I'm not using MonoDevelop, but compile projects that have been created in Visual Studio. Since Mono version 5.n I've been using msbuild to compile my projects, but this no longer works in Ubuntu 20.04. In my case, msbuild cannot be found. Trying to install msbuild doesn't fix the issue. – Peter Gloor Apr 25 '20 at 14:07. MonoDevelop is an IDE primarily designed for C# and other.NET languages. MonoDevelop enables developers to quickly write desktop and ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for developers to port.NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms. Most importantly, to keep MonoDevelop open sourced, Microsoft had to release certain code base from VS for Windows (such as vstest, and part of the code editor) under an open source license. This often requires a lengthy internal process with legal guys, and lots of efforts to clean up the code.
- Microsoft Windows XP or above, Mac OS X, or any Linux distribution which supports Mono.
- .NET Framework 4.0
- GTK# for .NET 2.12.10
- Kerbal Space Program 0.14 X1 or above.
PCL assemblies for Linux systems
Linux systems may be missing the PCL assembly libraries, which will cause compilation to fail. (No longer an issue on newer Mono)
- .deb and .rpm based systems can follow the instructions on the Mono Project site to add the appropriate repository, and the package name is 'referenceassemblies-pcl'.
- Arch Linux users will need to get the package from the Arch User Repository (AUR), and are looking for the 'mono-pcl' package.
Setting Up
Monodevelop C++
- Start a new solution either by selection 'Start new solution' on the welcome screen or File > New > Solution...
- Select 'Library' in the C# tree (Visible by default). Name it whatever you like. (We're using MyKSPProject for this tutorial. Click forward. Then Ok.) Creating a new solution
- Click Project > Edit References and follow the steps below:
- Click the .NET Assembly tab and use the navigation menu on the left to browse to your KSP installation folder.
- On Windows navigate to (<KSP_win>KSP_DataManaged) or on mac click 'Browse...' and navigate to (/Users/<user>/Applications/Steam/steamapps/common/Kerbal Space Program/KSP.app/Contents/Resources/Data/Managed). Note that the KSP.app folder will show as just 'KSP' (without the .app) and you can't navigate into it. Instead, navigate into there in the Finder, then right click/ctrl-click on KSP, choose 'Show Package Contents', continue to the Managed directory, then drag&drop Assembly-CSharp.dll and UnityEngine.dll into the 'Browse' dialog.
- Select Assembly-CSharp.dll and UnityEngine.dll. More assemblies may be required depending on exactly which things your mod needs access to. Adding References
- Press Add then Ok, they should now be visible under the 'References' directory of your solution.
Monodevelop Unity
Great, you're all set! Now continue to creating your first module!