godotengine / godotengine/godot-docs

Incorrect executable name in the Compiling with .NET example

Open
#8,655 0 comments 1 reaction 0 assignees View on GitHub
area:engine details bug topic:buildsystem topic:dotnet
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**

4.x

**Issue description:**

The article (linked below) shows this example:

```
# Build editor binary
scons p=windows target=editor module_mono_enabled=yes
# Build export templates
scons p=windows target=template_debug module_mono_enabled=yes
scons p=windows target=template_release module_mono_enabled=yes

# Generate glue sources
bin/godot.windows.editor.x86_64.mono --headless --generate-mono-glue modules/mono/glue
# Build .NET assemblies
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
```

But the line that should generate glue is incorrect (and was likely copied from the Linux example). It should be this:

```
bin/godot.windows.editor.x86_64.mono.console.exe --headless --generate-mono-glue modules/mono/glue
```

I use the `console.exe` variant because it handles headless and CLI better.

**URL to the documentation page:**

https://docs.godotengine.org/en/latest/contributing/development/compiling/compiling_with_dotnet.html#examples

PS. Examples could probably be turned into code tabs to save a bit of space.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.