Building NoLeaves from source requires a working Gorilla Tag installation and BepInEx 5. The project is a single-assembly .NET 4.8 mod whose output path is configured to drop the compiled DLL directly into the game’s plugin directory, so there is no manual copy step after a successful build.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ASTRA228b/NoLeaves.ASTRA-V2/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Visual Studio 2022 (any edition) with the .NET desktop development workload, or the .NET SDK with the .NET Framework 4.8 targeting pack installed separately
- Gorilla Tag installed via Steam at the default path (
C:\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\) — the.csprojreferences game and BepInEx DLLs using absolute paths from that location - BepInEx 5 installed inside the Gorilla Tag directory so that
BepInEx/core/BepInEx.dllandBepInEx/core/0Harmony.dllexist
Build steps
Clone the repository
NoLeaves.ASTRA-V2 directory containing the solution, project file, and plugin.cs.Open the solution
Open
NoLeaves.ASTRA.sln in Visual Studio 2022, or build directly from the command line using the .NET SDK (see the code block below).If you are using Visual Studio, select Build > Build Solution (or press Ctrl+Shift+B).Verify DLL references resolve
The
.csproj references the following DLLs by absolute path:BepInEx/core/BepInEx.dllBepInEx/core/0Harmony.dllGorilla Tag_Data/Managed/UnityEngine.dllGorilla Tag_Data/Managed/UnityEngine.CoreModule.dll
C:\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\ and that BepInEx 5 is present. Otherwise, update the HintPath values in the .csproj to match your install location.Build the project
NoLeaves.ASTRA.dll is written directly to:AppendTargetFrameworkToOutputPath is set to false in the .csproj, the DLL lands in that folder without a net48 subfolder.Building from the command line
If you prefer not to open Visual Studio, the .NET SDK can build the project directly:.csproj and does not change based on the build configuration, so Debug and Release both write to the same BepInEx/plugins/MO/ directory.