예제 #1
0
        /// <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();
            }
        }