Hi everyone,

I am setting up NAnt to automate my build process and currently having this problem. Please let me know if you have any suggestions to go about solving it.

I use the solution task in NAnt. My solution has a project that references an OCX. The properties displayed in Object Browser like this:

public virtual new short Threshold [  get,  set ]
    Member of AxOMRCtrl.AxOMRCtrl

Building the solution inside Visual Studio 2003 or from CruiseControl.NET works just fine. When using NAnt, I got this error:

 [solution] src\.....BatchUC.cs(1289,29): error CS0654: Method 'AxOMRCtrl.AxOMRCtrl.Threshold(short)' referenced without parentheses
 [solution] src\.....BatchUC.cs(1291,17): error CS0654: Method 'AxOMRCtrl.AxOMRCtrl.Threshold (short)' referenced without parentheses
 [solution] Build failed.

I'm using NAnt 0.85 RC4, and have tried with both .NET 1.1 and 2.0 Framework. I have also tried running NAnt from the Visual Studio .NET 2003 Command Prompt.

Thank you in advance.
Andy

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to