Or
<property name="msBuild.exe" value="${framework::get-framework-directory('net-2.0')}/msbuild.exe" />

<exec program="${msBuild.exe}" output="msbuild_log.xml" failonerror="true">
        <arg value="myproj.proj"/>
        <arg line="/p:Configuration=Release"/>
</exec>

Simon Thorogood wrote:
I do it like this:

<exec program="msbuild" output="msbuild_log.xml" failonerror="true">
        <arg value="myproj.proj"/>
        <arg line="/p:Configuration=Release"/>
</exec>

the msbuild.exe path will need be appended to your PATH env var also.



--
Gert


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to