/// <summary> /// Stop the current NAnt process. /// </summary> public void StopTarget() { if (NAntProcess.IsWorking) { NAntProcess.Stop(); } }
/// <summary> /// Initialize the thread for NAnt process. /// </summary> public void StartTarget() { if (!NAntProcess.IsWorking) { NAntProcess.Filename = Filename; NAntProcess.TargetNode = CurrentNode; // Sets focus to console VisualStudioUtils.ShowWindow(ApplicationObject, "Output"); NAntProcess.Start(); } }
private ViewController() { NAntProcess = new NAntProcess(this); }