I've added the following to the PrepareProcess method of ExternalProgramBase.cs:

           //don't need to create a new window as nant should already
           //be executing in a window and output is being redirected anyway
           process.StartInfo.CreateNoWindow = true;

on or around line 428 from the file in nant-0.85-rc1-src.zip. I've written a GUI version of nant (NAnt-Gui) that I'm going to release to the public soon. When tasks such as <csc ...> execute in my application a console window pops up while they are executing. With the above line added to ExternalProgramBase I no longer have that problem. AFAIK, this change shouldn't affect NAnt proper in any way.

Sorry I didn't provide a patch against the current source code, the cvs server appears to be down right now. I get the following message when I try to login:
'cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M PserverBackend::PserverBackend() Connect (No route to host)'



TIA,

Colin Svingen


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to