SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Error on attempting to run nant buildfile

Last post 09-26-2006 7:05 PM by MattWard. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-26-2006 2:23 AM

    • gt384u
    • Not Ranked
    • Joined on 09-26-2006
    • Posts 1

    Error on attempting to run nant buildfile

    .NET Version        : 2.0.50727.42
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : English (United States) (en-US)
    Working Set Memory   : 51972kb
    SharpDevelop Version :

    Exception thrown:
    System.ComponentModel.Win32Exception: The system cannot find the file specified
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start()
       at ICSharpCode.SharpDevelop.Util.ProcessRunner.Start(String command, String arguments)
       at ICSharpCode.NAntAddIn.NAntRunner.Start() in e:\CI\Corsavy\SharpDevelop\src\AddIns\Misc\NAntAddIn\Project\Src\NAntRunner.cs:line 190
       at ICSharpCode.NAntAddIn.Commands.AbstractRunNAntCommand.RunBuild(String buildFileName, String workingDirectory, Boolean debug, String target, String args) in e:\CI\Corsavy\SharpDevelop\src\AddIns\Misc\NAntAddIn\Project\Src\Commands\AbstractRunNAntCommand.cs:line 176
       at ICSharpCode.NAntAddIn.Commands.RunNAntCommand.Run() in e:\CI\Corsavy\SharpDevelop\src\AddIns\Misc\NAntAddIn\Project\Src\Commands\RunNAntCommand.cs:line 30
       at ICSharpCode.Core.MenuCommand.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Filed under:
  • 09-26-2006 5:55 AM In reply to

    • asl
    • Top 25 Contributor
    • Joined on 12-14-2005
    • Posts 403

    Re: Error on attempting to run nant buildfile

    Added bug report: SD2-1134

  • 09-26-2006 7:05 PM In reply to

    Re: Error on attempting to run nant buildfile

    You need to configure SharpDevelop so it knows where NAnt is. This can be done via Tools | Options | Tools | NAnt.
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this ( email address.