Setting up SharpDevelop

From Kerbal Space Program Wiki
Revision as of 15:49, 28 May 2013 by Dgelessus (talk | contribs) (- double title)
Jump to: navigation, search

Installing the IDE

Visit the download page here and grab the most recent version. As of this writing, SharpDevelop 4.3 (Frameworks 2.0, 3.0, 3.5 and 4.0) is available.

Home page: http://www.icsharpcode.net/opensource/sd/ Download Page: http://www.icsharpcode.net/OpenSource/SD/Download/ Install as needed.


Configuring the IDE

  1. After launching, click File> Close> File (CTRL-F4) to start with a completely empty work space.
  2. Click File> New> Solution.
  3. Select C# on the left, then Class Library.
  4. Provide a name for your project (MyKSPProject for example)
  5. Enter a Solution Name (MyKSPSolution for example)
  6. Change or remember where your project is being written to. This should NOT be the KSP directory.
  7. Right-Click on the MyKSPProject next to the + in the Projects pane
  8. Select "Add Reference"
  9. Click on the ".NET Assembly Browser" tab, then click the Browse button.
  10. Browse to your KSP Installation directory, and browse deeper into the KSP_DATA\Managed directory
  11. Either
    1. select Assembly-CSharp.dll and UnityEngine.DLL
    2. copy and paste what is between the square brackets into the "File name" section: [ "Assembly-CSharp.dll" "UnityEngine.dll" ]
  12. Click OPEN
  13. Click OK
  14. Continue to creating your first module!