Godot版本:
919fa75803177d0dc8f03c16b6be1360140145e1单声道
操作系统/设备,包括版本:
Ubuntu 18.10
问题说明:
Godot在打开项目时因错误而崩溃:
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
但是,已经安装了msbuild,因为我可以用它构建编辑器,并且可以从终端调用它:
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.
我仍然在v3.1.1.stable.mono.official
上遇到此问题,是否已解决?
我发现可以使用dotnet msbuild
而不是msbuild
运行msbuild。
最有用的评论
我仍然在
v3.1.1.stable.mono.official
上遇到此问题,是否已解决?我发现可以使用
dotnet msbuild
而不是msbuild
运行msbuild。