Andy, I can't really tell why you get a different result when compiling your solution using NAnt.
Would it be possible for you to send me a small repro for this ? Gert ----- Original Message ----- From: "Andy Duan Nguyen" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, July 13, 2006 12:29 AM Subject: [NAnt-users] Strange error with C# properties > 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.NETworks 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.0Framework. 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 > ------------------------------------------------------------------------- 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
