compile_plugin
Compile BepInEx plugin C# source files into a DLL using Roslyn, referencing the game's Managed and BepInEx core directories.
Instructions
Compile a BepInEx plugin C# source file using Roslyn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | Output DLL path | |
| source_files | Yes | C# source file path(s), semicolon-separated | |
| assembly_name | No | Assembly name (optional) | |
| managed_directory | Yes | Path to game Managed directory | |
| bepinex_core_directory | Yes | Path to BepInEx/core directory |