<aximp> is a nant-contrib task. To enable nant-contrib tasks, you should place the following line somewhere in your buildfile - either at the base level (same level as <target> elements) or inside a target... As long as it's executed before you try to use a task from the assembly...
<loadtasks assembly="path-to-nant-contrib/bin/NAnt.Contrib.Tasks.dll" /> Or <loadtasks path="path-to-nant-contrib/bin" /> Of course, I don't know what 'path-to-nant-contrib' is on your system :-) Hope this helps, -- Troy ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dongre, Kedar A Sent: Tuesday, 15 June 2004 5:36 AM To: [EMAIL PROTECTED] Subject: [Nant-users] Error during using the <aximp> target My build file is really simple as below: <?xml version="1.0"?> <project name="BuildActiveXWrapper" default="compile"> <target name="BuildAxWrapper" description="Creates a ActiveX wrapper for the VNC Viewer control"> <aximp ocx="C:\Program Files\SmartCode\ViewerX VNC Control\ActiveX - Dynamic\scvncctrl.dll" /> </target> <target name="compile" depends="BuildAxWrapper" /> </project> However when running with nant gives the following error: Invalid element <aximp>. Unknown Task or data type. Regards, Kedar Disclaimer Message: This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. To the maximum extent permitted by law, Immersive Technologies Pty. Ltd. does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users