private async Task DeleteBuildFile(IBuildViewModel build) { try { using (_changingFileSystemMonitor.Enter()) { PersistentData.DeleteBuild(build.Build); } } catch (Exception e) { Log.Error($"Build deletion failed for '{build.Build.Name}'", e); await _dialogCoordinator.ShowErrorAsync(this, L10n.Message("An error occurred during a delete operation."), e.Message); } }