Title: 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

Reply via email to