godotengine / godotengine/godot-dotnet

Using the Build Server

Open
#28 2 comments 1 reaction 0 assignees View on GitHub
area-Godot.EditorIntegration enhancement
Dominant language
C#
Stars
228
Forks
30
PR merge metrics
No merged PRs in 30d

Description

The existing build system (`godot mono` or the alternative `godot-dotnet`) uses `progress` to launch DotNet CLI to perform build tasks.

In most cases, this works well. But for situations where you need to execute build tasks frequently (I think this is the case when developing games or editor extensions in C#), there is some overhead in cold starting the build task every time.

Rolsyn provides a new mode ([Compiler Server](https://github.com/dotnet/roslyn/blob/main/docs/compilers/Compiler%20Server.md)) to alleviate this overhead.

I'm glad to see that we can switch our build system to `compiler server` mode!

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing `progress` invocation used by the `godot mono` and `godot-dotnet` build systems, then review Roslyn's Compiler Server documentation linked in the issue. Determine how compiler-server mode should be enabled for these build tasks and verify that repeated builds avoid the current cold-start overhead.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, godot
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.