Kedziora, Rebecca wrote
...Then I read to use the readregistry property which gave me an idea to
use to call the vsvars32.bat:
<target name="call_devenv">
<readregistry property="__ide.dir"
key="SOFTWARE\Microsoft\VisualStudio\7.1\InstallDir"
hive="LocalMachine" />
<exec
program="${__ide.dir}\devenv.exe "
commandline="${vsi.solution.file}" />
</target>
This won't always work, depending upon what you're building.
Specifically, you may also need to set some of the environment variables
that Visual Studio uses to find libraries and such. So be careful.
Gary
-------------------------------------------------------
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
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users