Bugs item #3037066, was opened at 2010-07-30 14:19 Message generated for change (Settings changed) made by benleen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3037066&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: Framework support Group: 0.91-alpha1 Status: Open Resolution: None >Priority: 3 Private: No Submitted By: Ben (benleen) Assigned to: Nobody/Anonymous (nobody) Summary: dynamic types (.Net 4.0) Initial Comment: Hi, I'm trying to compile a dynamic type against the latest nightly but the compiler keeps seeing it as an object instead. Example code: Convert.ToInt32(this.WordControl.Document.BuiltInDocumentProperties[WdBuiltInProperty.wdPropertyPages].Value BuiltInDocumentProperties is of type dynamic and it compiles ok through msbuild/VS2010. When building through Nant i get: "error CS0021: Cannot apply indexing with [] to an expression of type 'object'" Keep me posted please! Kind regards, Ben ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3037066&group_id=31650 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers