Difference between revisions of "Setting up MonoDevelop"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Robot: Changing Category:Part Module Tutorials to Category:Plugin SDK Tutorials)
m (Setting Up: Added path for OS X and refined windows install (from <KSP> to <KSP_win>. Could someone please add the linux install directory.)
Line 20: Line 20:
 
# Click '''Project > Edit References''' and follow the steps below:
 
# 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.
 
#* Click the .NET Assembly tab and use the navigation menu on the left to browse to your KSP installation folder.
#* Navigate to (<KSP>\KSP_Data\Managed) and select both Assembly-CSharp.dll and UnityEngine.dll. [[Image:MonoDevelop-Refs.png|thumb|right|Adding References]]
+
#* On Windows navigate to (<KSP_win>\KSP_Data\Managed) or on mac navigate to (/Applications/KSP_osx/KSP.app/Contents/Data/Managed) 
 +
#* Select both Assembly-CSharp.dll and UnityEngine.dll. [[Image:MonoDevelop-Refs.png|thumb|right|Adding References]]
 
#* Press Add then Ok, they should now be visible under the "References" directory of your solution.
 
#* Press Add then Ok, they should now be visible under the "References" directory of your solution.
  

Revision as of 22:14, 25 February 2014

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

  • Microsoft windows XP or above, Mac OSX, or any Linux Distribution listed below:
    • OpenSuse
    • SLE
    • Debian
    • Ubuntu
  • .NET Framework 4.0
  • GTK# for .NET 2.12.10
  • Kerbal Space Program 0.14 X1 or above.


Setting Up

  1. Start a new solution either by selection "Start new solution" on the welcome screen or File > New > Solution...
  2. 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
  3. 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_Data\Managed) or on mac navigate to (/Applications/KSP_osx/KSP.app/Contents/Data/Managed)
    • Select both Assembly-CSharp.dll and UnityEngine.dll.
      Adding References
    • Press Add then Ok, they should now be visible under the "References" directory of your solution.


Great, you're all set! Now continue to creating your first module!