Changes

Jump to navigation Jump to search
m
simplify 'compiler warnings' to 'build warnings'
Line 8: Line 8:  
===Single player===
 
===Single player===
 
At a high level, here's how to update a SMAPI mod:
 
At a high level, here's how to update a SMAPI mod:
# Update the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig mod build NuGet package] to 2.1-beta. (You may need to enable the 'include prerelease' checkbox to see the beta.)<br />''This adds support for Stardew Valley 1.3, and adds code analysis which will report common problems in Stardew Valley 1.3 as compiler warnings.''
+
# Update the [https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig mod build NuGet package] to 2.1-beta. (You may need to enable the 'include prerelease' checkbox to see the beta.)<br />''This adds support for Stardew Valley 1.3, and adds code analysis which will report common problems in Stardew Valley 1.3 as build warnings.''
 
# '''Restart Visual Studio''' to fully install the package.
 
# '''Restart Visual Studio''' to fully install the package.
 
# Rebuild your solution.
 
# Rebuild your solution.
Line 41: Line 41:     
Suggested fix:
 
Suggested fix:
* With the latest mod build package installed, rebuild your project. The package will detect net field references you need to update, and show an appropriate warning. See [[#Fix common compiler warnings|''fix common compiler warnings'']] below.
+
* With the latest mod build package installed, rebuild your project. The package will detect net field references you need to update, and show an appropriate warning. See [[#Fix common build warnings|''fix common build warnings'']] below.
    
===WorldDate===
 
===WorldDate===
Line 73: Line 73:  
* fields replaced by properties.
 
* fields replaced by properties.
   −
==Fix common compiler warnings==
+
==Fix common build warnings==
 
Make sure you check your Error List pane in Visual Studio (or equivalent in other IDEs) and fix any warnings. Here are some common ones:
 
Make sure you check your Error List pane in Visual Studio (or equivalent in other IDEs) and fix any warnings. Here are some common ones:
  
translators
8,403

edits

Navigation menu