Open
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:
PS. Examples could probably be turned into code tabs to save a bit of space.