Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot can't locate MSBuild #25592

Closed
ghost opened this issue Feb 3, 2019 · 1 comment
Closed

Godot can't locate MSBuild #25592

ghost opened this issue Feb 3, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 3, 2019

Godot version:

919fa75 Mono

OS/device including version:

Ubuntu 18.10

Issue description:

Godot crashes upon opening a project with the error:

WARNING: godot_icall_BuildInstance_get_MSBuildPath: Cannot find binary for 'MSBuild (Mono)'
   At: modules/mono/editor/godotsharp_builds.cpp:157.

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

However, msbuild is installed, as I am able to build the editor with it, and can call it from the terminal:

Microsoft (R) Build Engine version 16.0.0.0 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
@thechubbypanda
Copy link

thechubbypanda commented Jun 1, 2019

I still get this problem on v3.1.1.stable.mono.official has it been solved?

I found that msbuild can be run using dotnet msbuild rather than msbuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants