Changes

Jump to navigation Jump to search
→‎Create the project: + SDV 1.3 note, rm explanation
Line 61: Line 61:  
# Create a solution with a .NET Framework class library project (see [[Modding:IDE reference#create-project|how to]]).
 
# Create a solution with a .NET Framework class library project (see [[Modding:IDE reference#create-project|how to]]).
 
# Change the target framework to .NET Framework 4.5 for compatibility with Linux (see [[Modding:IDE reference#set-target-framework|how to]]).
 
# Change the target framework to .NET Framework 4.5 for compatibility with Linux (see [[Modding:IDE reference#set-target-framework|how to]]).
# Reference the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig <tt>Pathoschild.Stardew.ModBuildConfig</tt> NuGet package] (see [[Modding:IDE reference#add-nuget|how to]]). If you use Visual Studio 2017, you might need to close & reopen it before it handles the package correctly.<br /><small>''This will automatically reference the right dependencies for SMAPI modding, add support for debugging the mod, and copy the mod into your game's <tt>Mods</tt> folder when you build.''</small>
+
# Reference the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig <tt>Pathoschild.Stardew.ModBuildConfig</tt> NuGet package] (see [[Modding:IDE reference#add-nuget|how to]]).
 +
#* '''Stardew Valley 1.3 only:''' make sure you install the latest 2.1-beta version of the package. (You may need to enable the 'include prerelease' checkbox above the search results to see it.)
 +
# Restart Visual Studio/MonoDevelop after installing the package.
    
===Write the code===
 
===Write the code===
translators
8,439

edits

Navigation menu