hi, newbie getting this with the build file below (it works fine if i
omit the: <property name="nant.settings.currentframework" value="net-2.0" />).
i have stuff in: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and
C:\Program Files\Microsoft.NET\SDK\v2.0. also, csc -version says:
8.00.50727.42.
do i have things installed correctly?
any pointers will be appreciated.
thanks
<?xml version="1.0"?>
<project name="Observer" default="run" basedir=".">
<description>Observer</description>
<property name="debug" value="true" overwrite="false" />
<echo message="before ${framework::get-target-framework()}" />
<property name="nant.settings.currentframework"
value="net-2.0" />
<echo message="after ${framework::get-target-framework()}" />
<target name="clean" description="remove all generated files">
<delete file="Observer.exe" failonerror="false" />
<delete file="Observer.pdb" failonerror="false" />
</target>
<target name="build" description="compiles the source code">
<csc target="exe" output="Observer.exe" debug="${debug}">
<sources>
<include name="Observer.cs" />
</sources>
</csc>
</target>
<target name="run" depends="build">
<exec program="Observer.exe"/>
</target>
</project>
---
vice-chair http://ocjug.org/
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users