void OnShowOutput() { TaskRunnerErrorNode errorNode = GetSelectedErrorNode(); if (errorNode != null) { ShowTaskRunnerExplorerLog(); } }
ITaskRunnerNode CreateErrorTaskRunnerNode(Exception ex) { var root = new TaskRunnerErrorNode("Gulp Task Runner"); string message = GettextCatalog.GetString("Failed to load. See Task Runner Explorer Output for more details."); var tasksNode = new TaskRunnerErrorNode(message); root.Children.Add(tasksNode); return(root); }
TaskRunnerConfig CreateErrorTaskRunnerConfig(Exception ex) { var root = new TaskRunnerErrorNode("My Config"); string message = GettextCatalog.GetString("Failed to load. Please open the Task Runner Explorer Output for more information."); root.Children.Add(new TaskRunnerErrorNode(message) { Description = "Failed to load." }); return(new TaskRunnerConfig(root)); }