Changes

Line 182: Line 182:  
<li>Use the [https://smapi.io/package/readme crossplatform build config] package to automatically set up your project references. This makes crossplatform compatibility easier and lets your code compile on any platform. (If you followed the above guide, you already have this.)</li>
 
<li>Use the [https://smapi.io/package/readme crossplatform build config] package to automatically set up your project references. This makes crossplatform compatibility easier and lets your code compile on any platform. (If you followed the above guide, you already have this.)</li>
   −
<li>Use <tt>Path.Combine</tt> to build file paths, don't hardcode path separators since they won't work on all platforms.
+
<li>Use <tt>System.IO.Path.Combine</tt> to build file paths, don't hardcode path separators since they won't work on all platforms.
    
<syntaxhighlight lang="c#">
 
<syntaxhighlight lang="c#">
57

edits