*# Open <tt>StardewValley.exe</tt> in [https://www.jetbrains.com/decompiler/ dotPeek].
+
*# First-time setup:
−
*# Right-click on ''Stardew Valley'' and choose ''Export to Project''. Accept the default options to create a decompiled project you can open in Visual Studio.
+
*## Install the latest {{github|icsharpcode/ILSpy/releases|ILSpy}} release (get the "ILSpy_binaries" file under assets).
+
*## Open ILSpy.
+
*## Click ''View > Options'', scroll to the "Other" section at the bottom, and enable "Always qualify member references".
+
*# Open <tt>StardewValley.exe</tt> in ILSpy.
+
*# Right-click on ''Stardew Valley'' and choose ''Save Code'' to create a decompiled project you can open in Visual Studio.
* On Linux/Mac:
* On Linux/Mac:
*# Install [https://code.visualstudio.com/download Visual Studio Code].
*# Install [https://code.visualstudio.com/download Visual Studio Code].