A update on this problem - I copied the Ncontrib Task to the bin dir for Nant which allowed me to move a little bit forward, using the same file given below, I not get the following error:
Microsoft (R) .NET ActiveX Control to Windows Forms Assembly Generat
or
[Microsoft .Net Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
AxImp Error: Ambiguous option: /
BUILD FAILED
[aximp] ERROR: C:\ASTERIX\Code\CadenceScreen.build(8,10):
External Program Failed: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\
v1.1\bin\aximp.exe (return code was -1163019603):
NAnt.Core.BuildException: C:\ASTERIX\Code\CadenceScreen.build(8,10):
External Program Failed: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\
v1.1\bin\aximp.exe (return code was -1163019603)
at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
at NAnt.Optional.Tasks.AxImpTask.ExecuteTask()
Total time: 0.3 seconds.
Can you tell me what I am doing wrong
Regards,
Kedar
_____________________________________________
From: Dongre, Kedar A
Sent: Monday, June 14, 2004 2:36 PM
To: '[EMAIL PROTECTED]'
Subject: 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