I sent this snippet as a response to one of your other requests, but here it is again. I originally tried the commandline attribute also. The arg element collection seems to be easier to get correct. <exec program="devenv.exe" verbose="false" > <arg file="xxxxxxxxx.sln" /> <arg value="/out" /> <arg value="Build.out" /> <arg value="/rebuild" /> <arg value="debug" /> </exec>
Noel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jean-Michel Theriault Sent: Thursday, June 17, 2004 9:41 AM To: [EMAIL PROTECTED] Subject: [Nant-users] devenv error!!! HELP While building I get this error... BUILD FAILED External Program Failed: devenv.exe (return code was 1) But when I'm in the command prompt and type devenv, it lauches microsoft dev env....Here is the command in my code: <exec program="devenv.exe" commandline='"${sys.env.ProjectBase????" /Rebuild "${Configuration}" /out "${sys.env.ProjectBase}...????"'/> I have placed the path in the environment variables and all that. I'm new with NAnt so any help is appreciated!! Thanx in advance!! Jean Michel Thériault [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<<attachment: winmail.dat>>