This template is created for Rimworld modders who use Visual Studio Code instead of Visual Studio IDE.
-
No virtual folders. Easy to manage and edit both
xmlandcsfiles. -
Lightweight. Visual Studio Code only takes up to 200 MB of storage space and is lighting fast.
-
Automated. Integrated build, scripting and management tools to perform common tasks making everyday workflows faster.
-
Customizable. Almost every feature can be changed, whenever it is editor UI, keybinds or folder structure.
- Download and install .NET Core SDK and .Net Framework 4.8 Developer Pack. This step can be skipped if you already have required C# packages from Visual Studio IDE.
- Install C# extension.
- Clone, pull or download this template into your Rimworld
Modsfolder.
- Linux
dotnetsetup may vary depending on how you install Rimworld and what distro is being used. Follow Microsoft's instructions to installdotnet. - Install C# extension.
- Clone, pull or download this template into your Rimworld
Modsfolder.
- By pressing
F5key VS Code will perform 2 operations: build assembly file and launch Rimworld executable. - All intermediate files are kept inside
.vscodefolder. - For XML only modders remove preLaunchTask line from
.vscode/launch.jsonfile. - Modify
.vscode/mod.csprojandAbout/About.xmlaccording to your needs.
Jellypowered made a windows App to improve workflow for anyone who uses this template. You can find it Prepare New Mod