private async Task ExecuteAsync(object sender, EventArgs e) { _logger.Verbose($"PowerClean started in {nameof(PowerCleanSolutionCommand)} by {sender.GetType().FullName}."); try { var projects = await ProjectHelpers.GetAllProjectsAsync(); await _powerShellService.PowerCleanAsync(projects.ToArray()); } catch (Exception exception) { _logger.Warning(exception, "PowerClean failed cleaning project with exception {exception}."); } }