|
|
|
@ -65,7 +65,6 @@ namespace ICSharpCode.SharpDevelop.Project.Commands
@@ -65,7 +65,6 @@ namespace ICSharpCode.SharpDevelop.Project.Commands
|
|
|
|
|
protected void CallbackMethod(BuildResults results) |
|
|
|
|
{ |
|
|
|
|
lastBuildResults = results; |
|
|
|
|
ShowResults(results); |
|
|
|
|
AfterBuild(); |
|
|
|
|
OnBuildComplete(EventArgs.Empty); |
|
|
|
|
} |
|
|
|
@ -81,20 +80,6 @@ namespace ICSharpCode.SharpDevelop.Project.Commands
@@ -81,20 +80,6 @@ namespace ICSharpCode.SharpDevelop.Project.Commands
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void ShowResults(BuildResults results) |
|
|
|
|
{ |
|
|
|
|
if (results != null) { |
|
|
|
|
TaskService.InUpdate = true; |
|
|
|
|
foreach (BuildError error in results.Errors) { |
|
|
|
|
TaskService.Add(new Task(error)); |
|
|
|
|
} |
|
|
|
|
TaskService.InUpdate = false; |
|
|
|
|
if (results.Errors.Count > 0 && ErrorListPad.ShowAfterBuild) { |
|
|
|
|
WorkbenchSingleton.Workbench.GetPad(typeof(ErrorListPad)).BringPadToFront(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Notifies the user that #develp's internal MSBuildEngine
|
|
|
|
|
/// implementation only supports compiling solutions and projects;
|
|
|
|
|