You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Create a new empty project, add one C# script.
Set Build tool dotnet CLI in Godot settings. Try to build. Get modules/mono/glue/gd_glue.cpp:250 Cannot find dotnet CLI executable. Fallback to MSBuild from Mono
In terminal:
dotnet --version
3.1.102
The text was updated successfully, but these errors were encountered:
I think I'm having this issue with 3.2.4rc1 on Big Sur. On my system it looks like the problem is that dotnet is not in $PATH when running Godot from the finder, which believe defaults to /usr/bin:/bin:/usr/sbin:/sbin or some permutation of that on MacOS.
However if I run Godot from the command line as /Applications/Godot_mono.app/Contents/MacOS/Godot -p everything works fine.
For now I've set up a trampoline with Platypus to set path and then run Godot
but it seems like this can be fixed in Godot itself, either by adding /usr/local/bin to PATH in the Plist file, expanding on the code that searches for the dotnet cli, or just letting the user manually specify the path to the dotnet cli.
fyi for others looking for a solution my problem was similar, but ended up being because on linux my Godot.desktop file I made didn't include the custom PATH modification that was in my shell profile. So I had to modify the .desktop file's Exec property to setup the PATH env var so dotnet was accessible.
3.2.2beta3
MACOSX
Issue description:
Create a new empty project, add one C# script.
Set Build tool dotnet CLI in Godot settings. Try to build. Get
modules/mono/glue/gd_glue.cpp:250 Cannot find dotnet CLI executable. Fallback to MSBuild from Mono
In terminal:
The text was updated successfully, but these errors were encountered: