Menu

#159 defines do not work with NAnt

closed
None
5
2008-05-03
2008-04-22
No

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

Discussion

  • Bernhard Brem

    Bernhard Brem - 2008-05-03
    • assigned_to: nobody --> bernhardbrem
     
  • Bernhard Brem

    Bernhard Brem - 2008-05-03

    Logged In: YES
    user_id=1245734
    Originator: NO

    Fixed in CVS

     
  • Bernhard Brem

    Bernhard Brem - 2008-05-03
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB