defines do not work with NAnt
Status: Beta
Brought to you by:
bernhardbrem
If one adds a define in the New C# Class wizard, building with NAnt fails:
----------------------
BUILD FAILED
/home/hkrapfenbauer/runtime-EclipseApplication/.../build.xml(39,6):
The <csc> type does not support the nested build element "define".
----------------------
The section of build.xml:
---------------------
<target name='huhu'>
<csc debug='true' optimize='true' output='${build}/huhu.exe' target='exe'>
<sources>
</sources>
<references>
<include name='...'/>
</references>
<define name='adefine'/>
</csc>
</target>
--------------------
Logged In: YES
user_id=1245734
Originator: NO
Fixed in CVS