Difference between revisions of "Setting up SharpDevelop"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "== Setting up SharpDevelop == === Installing the IDE === Visit the download page here and grab the most recent version. As of this writing, SharpDevelop 4.3 (Frameworks 2.0,...")
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Setting up SharpDevelop ==
+
{{move|tutorial:Setting up SharpDevelop|seems like a tutorial}}
 
+
== Installing the IDE ==
=== 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.
 
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.
  
Line 9: Line 8:
  
  
=== Configuring the IDE ===
+
== Configuring the IDE ==
 
# After launching, click File> Close> File (CTRL-F4) to start with a completely empty work space.
 
# After launching, click File> Close> File (CTRL-F4) to start with a completely empty work space.
 
# Click File> New> Solution.
 
# Click File> New> Solution.
# Select C# on the left, then Class Library.
+
# Select C# on the left, then Class Library. [[File:SharpDevelop NewProject.png|thumbnail|Sharp Develop - New Project]]
 
# Provide a name for your project (MyKSPProject for example)
 
# Provide a name for your project (MyKSPProject for example)
 
# Enter a Solution Name (MyKSPSolution for example)
 
# Enter a Solution Name (MyKSPSolution for example)
# Change or remember where your project is being written to.  This should NOT be the KSP directory.
+
# Change or remember where your project is being written to.  This should NOT be the KSP directory.  Click Create.
# Right-Click on the MyKSPProject next to the + in the Projects pane
+
# Right-Click on the MyKSPProject next to the + in the Projects pane. Select "Add Reference" [[File:SharpDevelop AddRef.png|thumbnail|SharpDevelop - Add References]]
# Select "Add Reference"
+
# Click on the ".NET Assembly Browser" tab, then click the Browse button. [[File:SharpDevelop Browse.png|thumbnail|SharpDevelop - Browse]]
# Click on the ".NET Assembly Browser" tab, then click the Browse button.
 
 
# Browse to your KSP Installation directory, and browse deeper into the KSP_DATA\Managed directory
 
# Browse to your KSP Installation directory, and browse deeper into the KSP_DATA\Managed directory
# Either  
+
# Either [[File:SharpDevelop Open.png|thumbnail|SharpDevelop - Open]]
 
## select Assembly-CSharp.dll and UnityEngine.DLL
 
## select Assembly-CSharp.dll and UnityEngine.DLL
 
## copy and paste what is between the square brackets into the "File name" section: [ "Assembly-CSharp.dll" "UnityEngine.dll" ]
 
## copy and paste what is between the square brackets into the "File name" section: [ "Assembly-CSharp.dll" "UnityEngine.dll" ]
 
# Click OPEN
 
# Click OPEN
 
# Click OK
 
# Click OK
# Continue to [[creating your first module]]!
+
# Continue to [[Tutorial:Creating your first module|creating your first module]]!

Latest revision as of 00:30, 14 April 2016

This page has been requested to be moved to tutorial:Setting up SharpDevelop.

The given reason is: seems like a tutorial

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.
    Sharp Develop - New Project
  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. Click Create.
  7. Right-Click on the MyKSPProject next to the + in the Projects pane. Select "Add Reference"
    SharpDevelop - Add References
  8. Click on the ".NET Assembly Browser" tab, then click the Browse button.
    SharpDevelop - Browse
  9. Browse to your KSP Installation directory, and browse deeper into the KSP_DATA\Managed directory
  10. Either
    SharpDevelop - Open
    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" ]
  11. Click OPEN
  12. Click OK
  13. Continue to creating your first module!