diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2019-01-18 01:23:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 01:23:15 +0100 |
commit | e8a1d4babd7116726e0b66da3489d09fcbbcf768 (patch) | |
tree | 8619d33a09558b2ac5ca1383b97d7d62287d0d62 /modules/mono/editor/godotsharp_builds.cpp | |
parent | 938a2515cbc2a6aa5f50e6d78e1554db7b4b5678 (diff) | |
parent | 9cd24b4f6d0938d4c51eb20f9630eb4281c7056f (diff) |
Merge pull request #25079 from neikeq/mm-b
C#: Fix trying to build when there's no solution
Diffstat (limited to 'modules/mono/editor/godotsharp_builds.cpp')
-rw-r--r-- | modules/mono/editor/godotsharp_builds.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp index 4b32a0bfeb..5d9f4d8d54 100644 --- a/modules/mono/editor/godotsharp_builds.cpp +++ b/modules/mono/editor/godotsharp_builds.cpp @@ -381,6 +381,9 @@ bool GodotSharpBuilds::build_project_blocking(const String &p_config) { bool GodotSharpBuilds::editor_build_callback() { + if (!FileAccess::exists(GodotSharpDirs::get_project_sln_path())) + return true; // No solution to build + String scripts_metadata_path_editor = GodotSharpDirs::get_res_metadata_dir().plus_file("scripts_metadata.editor"); String scripts_metadata_path_player = GodotSharpDirs::get_res_metadata_dir().plus_file("scripts_metadata.editor_player"); |