Skip to content

Incorrect executable name in the Compiling with .NET example #8655

Open
@YuriSizov

Description

@YuriSizov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions