Bugs item #1527210, was opened at 2006-07-23 01:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1527210&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: Andy Nguyen (andynguyen) Assigned to: Nobody/Anonymous (nobody) Summary: Incorectly treats certain COM properties as functions Initial Comment: The solution task Incorectly treats certain COM properties as functions. NAnt 0.85 RC4. My solution has a project that references an OCX. The property 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. Threshold 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 similar to this: [id(8)] boolean Open; I'm using , 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1527210&group_id=31650 ------------------------------------------------------------------------- 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-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers