build_csharp
Compile-check C# code in a Godot project with dotnet build, returning structured errors and warnings with file, line, and column details. Catches C# issues that GDScript checks miss.
Instructions
Compile-check a C#/.NET Godot project with dotnet build, returning structured diagnostics (errors/warnings with file:line:col + CS-code). Isolated build (scratch output) — never touches the editor's loaded assembly, so it's safe while the editor is open. Auto-detects the .csproj if omitted. Needs the .NET SDK (already installed for any C# Godot project). First build restores packages (slower); incremental ~1-3s. Use after editing .cs — the GDScript compile-gate (write_script) does NOT cover C#.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csproj | No | res:// or absolute path to the .csproj; auto-detected from the project if omitted | |
| configuration | No | Debug (default) or Release |