This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com
Modding:IDE reference:JetBrains Rider
From Stardew Valley Wiki
Article Stub
This article is marked as a stub for the following reason:
|
This page is a quick reference on how to get started creating a Jetbrains Rider solution geared towards SMAPI
Creating the Solution and setting the framework target
- Open JetBrains Rider
- Click + New Solution from the start up screen
- In the left side panel under the .NET section, select Class Library and make sure to use framework version 4.5.0, 4.5.1 or 4.5.2
- On this page you can also enter a solution name and directory in the respective fields
- Make sure to enter a descriptive mod name, without spaces, and make sure to capitalize each first letter of a word to make clear where a word begins and ends. For example: "PineapplesAreEverywhereHelpMe"
- Upon creating the solution, JetBrains Rider will automatically create an empty Class file template for you
Importing a DLL from NuGet
- Click the Tools tab on the toolbar at the top of the screen (or press ctrl + T) and then select NuGet and then select Show NuGet Packages.
- In the window that should have appeared at the bottom left of your screen, type "Stardew", select Pathoschild.Stardew.ModBuildConfig and to the right in the bar that shows your solution name, press the green +