Versão Godot:
919fa75803177d0dc8f03c16b6be1360140145e1 Mono
Sistema operacional / dispositivo incluindo versão:
Ubuntu 18.10
Descrição do problema:
Godot trava ao abrir um projeto com o erro:
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
No entanto, o msbuild está instalado, pois posso construir o editor com ele e posso chamá-lo do 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.
Ainda tenho este problema em v3.1.1.stable.mono.official
. Foi resolvido?
Descobri que o msbuild pode ser executado usando dotnet msbuild
vez de msbuild
.
Comentários muito úteis
Ainda tenho este problema em
v3.1.1.stable.mono.official
. Foi resolvido?Descobri que o msbuild pode ser executado usando
dotnet msbuild
vez demsbuild
.