Changes

→‎Create a mod project: update for Visual Studio 2019, tweak headers
Line 27: Line 27:  
Before you can write your mod code, you need to create a solution and project to contain it.
 
Before you can write your mod code, you need to create a solution and project to contain it.
   −
===In Visual Studio 2017===
+
===Windows (Visual Studio 2019)===
# Open Visual Studio 2017.
+
# Open Visual Studio 2019.
# Click ''File » New » Project'' from the menu bar:<br />[[File:Modding - IDE reference - create project (Visual Studio 1).png]]
+
# Click ''Create a new project'' from the start screen.<br />[[File:Modding - IDE reference - create project (Visual Studio 1).png]]
# In the 'New Project' window, choose ''Visual C# » Class Library (.NET Framework)'':<br />[[File:Modding - IDE reference - create project (Visual Studio 2).png]]
+
# Filter by "C#" and "Library", then choose ''Class Library (.NET Framework)'' and click ''Next''. Make sure you '''don't''' choose ''Class Library (.NET Core)'' or ''Class Library (.NET Standard)'', which won't work.<br />[[File:Modding - IDE reference - create project (Visual Studio 2).png]]
# Enter a descriptive mod name. By convention, the name should be one word with mixed caps (like "PineapplesEverywhere"):<br />[[File:Modding - IDE reference - create project (Visual Studio 3).png]]
+
# In the ''configure your new project'' window: <ol><li>Enter a descriptive mod name. By convention, the name should be one word with mixed caps (like "PineapplesEverywhere").</li><li>Make sure "Place solution and project in the same directory" is ''not'' checked.</li><li>Make sure .NET Framework 4.5.2 is selected.</li><li>Click "Create" to to create the project.</li></ol>[[File:Modding - IDE reference - create project (Visual Studio 3).png]]
# Make sure "create directory for solution" is checked, and click ''OK'':<br />[[File:Modding - IDE reference - create project (Visual Studio 4).png]]
     −
===In MonoDevelop===
+
===Linux (MonoDevelop)===
 
# Open MonoDevelop.
 
# Open MonoDevelop.
 
# Click ''File » New Solution'' from the menu bar:<br />[[File:Modding - IDE reference - create project (MonoDevelop 1).png]]
 
# Click ''File » New Solution'' from the menu bar:<br />[[File:Modding - IDE reference - create project (MonoDevelop 1).png]]
Line 41: Line 40:  
# Make sure "create a project directory within the solution directory" is checked, and click ''Create'':<br />[[File:Modding - IDE reference - create project (MonoDevelop 4).png]]
 
# Make sure "create a project directory within the solution directory" is checked, and click ''Create'':<br />[[File:Modding - IDE reference - create project (MonoDevelop 4).png]]
   −
===In Visual Studio for Mac===
+
===MacOS (Visual Studio for Mac)===
 
# Open Visual Studio for Mac.
 
# Open Visual Studio for Mac.
 
# Click ''File » New Solution'' from the menu bar:<br />[[File:Modding - IDE reference - create project (Visual Studio for Mac 1).png|200px]]
 
# Click ''File » New Solution'' from the menu bar:<br />[[File:Modding - IDE reference - create project (Visual Studio for Mac 1).png|200px]]
translators
8,404

edits