This is what I did thanks to some other helpful soul on the list.
-Kelly
<!-- sets up the path and such so that the IDE environment will work
correctly -->
<setenv>
<variable name="VSINSTALLDIR" value="C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\IDE"/>
<variable name="VCINSTALLDIR" value="C:\Program Files\Microsoft Visual
Studio .NET 2003"/>
<variable name="FrameworkDir"
value="C:\WINDOWS\Microsoft.NET\Framework"/>
<variable name="FrameworkVersion" value="1.1.4322"/>
<variable name="FrameworkSDKDir" value="C:\Program
Files\Microsoft.NET\SDK\v1.1"/>
<variable name="DevEnvDir" value="%VSINSTALLDIR%"/>
<variable name="MSVCDir" value="%VCINSTALLDIR%\VC7"/>
<variable name="PATH"
value="%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALL
DIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%Fram
eworkSDKDir%\bin;%FrameworkDir%\%FrameworkVersion%;%PATH%;"/>
<variable name="INCLUDE"
value="%MSVCDir%\ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\PlatformSDK\
include\prerelease;%MSVCDir%\PlatformSDK\include;%FrameworkSDKDir%\inclu
de;%INCLUDE%"/>
<variable name="LIB"
value="%MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib\prer
elease;%MSVCDir%\PlatformSDK\lib;%FrameworkSDKDir%\lib;%LIB%"/>
</setenv>
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kedziora,
Rebecca
Sent: Monday, November 07, 2005 2:50 PM
To: [email protected]
Subject: [Nant-users] Best approach to call vsvars32.bat
Anyone,
On our build boxes we don't have the include or lib set up in
the system environment so in order to build we run the vsvars32.bat and
build the projects.
Would the vsvars32.bat be the best approach to execute or are
there better approaches to setting up the environment? After the build
is complete I don't want any environment left around. We want our
builds to establish it own environment since we have many builds with
different needs but share the same build box.
If vsvars32.bat is the best approach how do you execute it from
the build script?
I tried using the exec task but I am doing something wrong. I
am trying to use the environment %VS71COMNTOOLS% since that is where the
bat file resides.
Thanks,
Rebecca
E-Mail messages may contain viruses, worms, or other malicious code. By reading
the message and opening any attachments, the recipient accepts full
responsibility for taking protective action against such code. Sender is not
liable for any loss or damage arising from this message.
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee(s). Access to this e-mail by anyone
else is unauthorized.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users