Ver código fonte

Merge pull request #108053 from raulsntos/dotnet/check-msbuild-panel-for-details

[.NET] Mention MSBuild panel when building fails
Rémi Verschelde 2 meses atrás
pai
commit
25525bcfa5

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Build/BuildManager.cs

@@ -230,7 +230,7 @@ namespace GodotTools.Build
 
             if (!success)
             {
-                ShowBuildErrorDialog("Failed to build project");
+                ShowBuildErrorDialog("Failed to build project. Check MSBuild panel for details.");
             }
 
             return success;

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs

@@ -286,7 +286,7 @@ namespace GodotTools.Export
                     if (!BuildManager.PublishProjectBlocking(buildConfig, platform,
                             runtimeIdentifier, publishOutputDir, includeDebugSymbols))
                     {
-                        throw new InvalidOperationException("Failed to build project.");
+                        throw new InvalidOperationException("Failed to build project. Check MSBuild panel for details.");
                     }
 
                     string soExt = ridOS switch