Here's how I do it...

  <!-- devenv -->
  <sysinfo/>
  <property name="devenv.com.path"
value="${sys.env.VS71COMNTOOLS}..\IDE"/>
  <property name="devenv.com.name" value="devenv.com"/>

  <target name="devenv">
   <exec
      basedir="${devenv.com.path}"
      program="${devenv.com.name}"
      commandline="D:\work\Application.sln /build debug"
    />
  </target>

Mike.

-----Original Message-----
From: Michael Dang [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 3:00 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Sample <exec> task with Devenv


Hi All,

Can someone post an example of how they used the <exec> task with the
devenv.exe?  I am trying but i get errors saying devenv is not a
recognized as an internal or external command, operable program or
command.  I think its b/c it doesn't have the .NET env. variables
path set up.  If so, I do i set this up?


Thanks in advance,



=====
Michael Dang

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to