That is great news. I can't wait to get this fix ;-). Thank you very much for your help on this issue. I have just submit the bug report for it, ID 1527210.
Andy
On 7/22/06, Gert Driesen <[EMAIL PROTECTED]> wrote:
Hi Andy,
I think I may have a fix for your problem, but I need to test it a little
further.
Can you submit a (detailed) bug report for this issue ?
Thanks !
Gert
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] ] On Behalf
> Of Andy Duan Nguyen
> Sent: donderdag 20 juli 2006 22:19
> To: Gert Driesen; nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] Strange error with C# properties
>
> Hi Gert,
>
> I sent you a repro project earlier. Here is more information
> I found out: Threshold is the only property that gets NAnt
> choke. It is defined under the method section of dispinterface as:
>
> [propget, id(18), helpstring("property Threshold")] HRESULT
> Threshold([out, retval] short *pVal);
> [propput, id(18), helpstring("property Threshold")] HRESULT
> Threshold([in] short newVal);
>
> The other properties that did not produce error are defined
> under the properties section of disinterface and are like this:
>
> [id(8)] boolean Open;
>
> Hope this information helps with the debug process.
>
> Thank you,
> Andy
>
>
> On 7/13/06, Andy Duan Nguyen < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED] > > wrote:
>
> Hi Gert,
>
> Attached is the zip file of a simple repro project. You
> will need to register the file omrctrl.ocx using regsvr32.
>
> Thank you very much for looking into this problem.
>
>
> Andy
>
>
>
> On 7/13/06, Gert Driesen <[EMAIL PROTECTED] > wrote:
>
> 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: < nant-users@lists.sourceforge.net>
> 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
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057
> &dat=121642>
> >
>
>
>
> --------------------------------------------------------------
> ------------------
>
>
> > _______________________________________________
> > NAnt-users mailing list
> > NAnt-users@lists.sourceforge.net
> <mailto: NAnt-users@lists.sourceforge.net>
> >
> https://lists.sourceforge.net/lists/listinfo/nant-users
> < https://lists.sourceforge.net/lists/listinfo/nant-users>
> >
>
>
>
>
>
>
>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users