build_csharp
Compile-check C# Godot project with dotnet build, returning errors and warnings with file:line:col and CS-code. Isolated build does not affect the editor.
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 |