From c7c8ee486122e7b0a7ea9e0e0f1222b649926c84 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 17 Jan 2026 15:10:02 +1000 Subject: [PATCH] yield --- src/SharpIDE.Godot/IdeRoot.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SharpIDE.Godot/IdeRoot.cs b/src/SharpIDE.Godot/IdeRoot.cs index 9716506..3e093d6 100644 --- a/src/SharpIDE.Godot/IdeRoot.cs +++ b/src/SharpIDE.Godot/IdeRoot.cs @@ -121,6 +121,7 @@ public partial class IdeRoot : Control private void OnRestoreSlnButtonPressed() => MsBuild(BuildType.Restore); private async void MsBuild(BuildType buildType) { + await Task.CompletedTask.ConfigureAwait(ConfigureAwaitOptions.ForceYielding); GodotGlobalEvents.Instance.BottomPanelTabExternallySelected.InvokeParallelFireAndForget(BottomPanelType.Build); await _buildService.MsBuildAsync(_solutionExplorerPanel.SolutionModel.FilePath, buildType); }