Changes

→‎How to update your mod: expand a bit, no longer need SMAPI for developers to see deprecation messages
Line 30: Line 30:     
===How to update your mod===
 
===How to update your mod===
You don't need to comb through your code manually. SMAPI can tell you if you're using a deprecated interface:
+
You don't need to comb through your code manually. SMAPI can tell you if you're using a deprecated API:
   −
# Use the latest [https://smapi.io/ SMAPI for developers] download. This will show deprecation messages in the console:<br />[[File:Modding - updating deprecated SMAPI code - deprecation warnings.png]]
+
# SMAPI will show deprecation messages in the console window (the exact format changes depending on the deprecation level, but you can just search for your mod name):<br />[[File:Modding - updating deprecated SMAPI code - deprecation warnings.png]]
# When you look at the code, you'll see a deprecation warning with a hint of how to fix it:<br />[[File:Modding - updating deprecated SMAPI code - deprecation intellisense.png]]
+
# When you look at the code in Visual Studio, you'll see build warnings with hints on how to fix them:<br />[[File:Modding - updating deprecated SMAPI code - deprecation intellisense.png]]
# You can refer to the following sections on how to replace specific interfaces.
+
# You can refer to the following sections on how to replace specific APIs.
    
==Breaking changes==
 
==Breaking changes==
translators
8,404

edits