
The 'target framework' is the version of. By convention, the name should be one word with mixed caps (like "PineapplesEverywhere"):

For VS 2022, this will be on the next page. Next, select NET 5.0 and click "Create" to create the project.Click "Create" to to create the project.Make sure "Place solution and project in the same directory" is not checked.By convention, the name should be one word with mixed caps (like "PineapplesEverywhere"). In the configure your new project window:.Make sure you don't choose Class Library (.NET Framework) which won't work. Filter by "C#" and "Library", then choose Class Library and click Next.Click Create a new project from the start screen.The solution itself isn't compiled, but it enables some convenient features (like letting projects easily reference each other).īefore you can write your mod code, you need to create a solution and project to contain it. Each project is compiled into its own DLL.Ī collection of projects with some global settings. This is the file that SMAPI reads when loading your mod.Ī collection of source code + configuration + resources (like images) you edit in the IDE. dll extension which contains your compiled code (short for Dynamic Link Library). The main IDEs are Visual Studio on Windows, and MonoDevelop/Visual Studio for Mac on Linux/Mac. The program used to edit, run, and compile your code (short for Integrated Development Environment). Reviewing C# Fundamentals for Absolute Beginners is strongly recommended if you're new to programming C#.

You should install Visual Studio Community (Windows), MonoDevelop (Linux), or Visual Studio for Mac (Mac).8.2 In MonoDevelop/Visual Studio for Mac.7.2 In MonoDevelop/Visual Studio for Mac.6.3 In MonoDevelop/Visual Studio for Mac.5.2 In MonoDevelop/Visual Studio for Mac.4.2 In MonoDevelop/Visual Studio for Mac.3.3 In MonoDevelop/Visual Studio for Mac.
