Changes

Jump to navigation Jump to search
remove footer (no longer needed with new sidebar)
Line 1: Line 1:  
{{../../header}}
 
{{../../header}}
 +
 
'''See [[Modding:Modder Guide/Get Started|Modding:Modder Guide]] for an introduction to creating a SMAPI mod. This is a technical reference page which assumes you've already followed that guide.'''
 
'''See [[Modding:Modder Guide/Get Started|Modding:Modder Guide]] for an introduction to creating a SMAPI mod. This is a technical reference page which assumes you've already followed that guide.'''
 +
 
__TOC__
 
__TOC__
 +
 
==Basic structure==
 
==Basic structure==
 
A SMAPI mod must have...
 
A SMAPI mod must have...
Line 53: Line 56:  
* [https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects Create a shared project] and reference it from your mod project. The shared project's code will be compiled as part of your mod project (so it'll be one DLL containing both projects in the mod folder).
 
* [https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects Create a shared project] and reference it from your mod project. The shared project's code will be compiled as part of your mod project (so it'll be one DLL containing both projects in the mod folder).
 
* Reference projects/DLLs and copy their DLLs into your mod folder. SMAPI will detect the reference and load the DLLs from your mod folder automatically. '''Don't do this for referencing a mod''' — that can cause confusing errors when multiple versions are available (see the first option instead).
 
* Reference projects/DLLs and copy their DLLs into your mod folder. SMAPI will detect the reference and load the DLLs from your mod folder automatically. '''Don't do this for referencing a mod''' — that can cause confusing errors when multiple versions are available (see the first option instead).
  −
{{modding guide footer
  −
|prev = [[Modding:Modder Guide/APIs|SMAPI reference]]
  −
|next =
  −
}}
 
translators
8,403

edits

Navigation menu