Changes

→‎Create the project: Adjust instructions for 1.5.5
Line 76: Line 76:     
# Open Visual Studio or MonoDevelop.
 
# Open Visual Studio or MonoDevelop.
# Create a solution with a ''Class Library (.NET Framework)'' project (see [[Modding:IDE reference#create-project|how to create a project]]). '''Make sure you choose .NET Framework (''not'' .NET Core, .NET Standard, or .NET 5+).'''
+
# Create a solution with a ''Class Library'' project (see [[Modding:IDE reference#create-project|how to create a project]]). (not ''Class Library (.NET Framework)'')
# Change the target framework to .NET Framework 4.5, 4.5.1, or 4.5.2 for best compatibility (see [[Modding:IDE reference#set-target-framework|how to change target framework]]).<br /><small>That's the version installed and used by the game. Newer versions may not be installed for players, and SMAPI may not be able to load them.</small>
+
# Target .NET 5; (see [[Modding:IDE reference#set-target-framework|how to change target framework]]).<br /><small>That's the version installed and used by the game. Newer versions may not be installed for players, and SMAPI may not be able to load them.</small>
 
# Reference the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig <samp>Pathoschild.Stardew.ModBuildConfig</samp> NuGet package] (see [[Modding:IDE reference#add-nuget|how to add the package]]).
 
# Reference the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig <samp>Pathoschild.Stardew.ModBuildConfig</samp> NuGet package] (see [[Modding:IDE reference#add-nuget|how to add the package]]).
 
# Restart Visual Studio/MonoDevelop after installing the package.
 
# Restart Visual Studio/MonoDevelop after installing the package.
   −
{{SMAPI upcoming|3.13.0|Stardew Valley 1.5.5 migrates to .NET 5. When creating a mod for the beta:
+
<!--{{SMAPI upcoming|3.13.0|Stardew Valley 1.5.5 migrates to .NET 5. When creating a mod for the beta:
 
* create a ''Class Library'' (not ''Class Library (.NET Framework)'') project;
 
* create a ''Class Library'' (not ''Class Library (.NET Framework)'') project;
 
* target .NET 5;
 
* target .NET 5;
 
* install the 4.0.0 beta version of the <samp>Pathoschild.Stardew.ModBuildConfig</samp> package.
 
* install the 4.0.0 beta version of the <samp>Pathoschild.Stardew.ModBuildConfig</samp> package.
}}
+
}}-->
    
===Add the code===
 
===Add the code===
528

edits