godotengine / godotengine/godot-docs
Incorrect executable name in the Compiling with .NET example
- 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.