0 votes

Hi all,

I'm trying out Godot (or, more accurately, attempting to try out Godot) to see if it might be a potential resource for a game in development.

Upon trying to build a project after attaching any C# script (even an empty one) to a node, the client closes without warning, and I'm not sure what's causing the issue. The client doesn't provide any log or update the one that's auto-generated upon start.

I've Googled as much as possible but, without having any information about where to start, I'm not sure what's going on.

Any suggestions would be helpful - thanks in advance!

in Engine by (16 points)

1 Answer

0 votes

Update: I received the suggestion to run the client through the command prompt, which output the following error upon build:

ERROR: godoticallBuildInstancegetMSBuildPath: Cannot find executable for 'MSBuild (VS Build Tools)'. Tried with path:
At: modules/mono/editor/godotsharp_builds.cpp:105

Unhandled Exception:
System.IO.FileNotFoundException: Cannot find the MSBuild executable.
at GodotSharpTools.Build.BuildInstance.GetMSBuildPath () [0x00013] in <32a76a9df224459d83b0375c3bbf8619>:0
at GodotSharpTools.Build.BuildInstance.Build (System.String loggerAssemblyPath, System.String loggerOutputDir, System.String[] customProperties) [0x0001a] in <32a76a9df224459d83b0375c3bbf8619>:0

Upon further Googling, it seems that others have had similar issues related to the path where MSBuild tools are supposed to live. I went ahead and uninstalled Visual Studio 2017 Community and installed 2019. That seemed to work. [shrug]

by (16 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.