Godotバージョン:
919fa75803177d0dc8f03c16b6be1360140145e1モノ
バージョンを含むOS /デバイス:
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を使用してエディターをビルドでき、ターミナルから呼び出すことができるため、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
でもこの問題が発生しますが、解決されましたか?
msbuildはmsbuild
ではなくdotnet msbuild
を使用して実行できることがわかりました。
最も参考になるコメント
v3.1.1.stable.mono.official
でもこの問題が発生しますが、解決されましたか?msbuildは
msbuild
ではなくdotnet msbuild
を使用して実行できることがわかりました。