Bugs item #1187291, was opened at 2005-04-21 11:02 Message generated for change (Comment added) made by copsey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187291&group_id=31650
Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Copsey (copsey) Assigned to: Nobody/Anonymous (nobody) Summary: Property macro expansion does not happen for Element types Initial Comment: In element.cs, in the CreateChildBuildElement method, the parameter "properties" is not used. Property macro expansion does not happen. In my build, I have created a custom task which takes a filename as a parameter <blah>filename</blah> but when i use it with a property, its not expanded <blah>${filename}</blah> (get "${filename} not found") ---------------------------------------------------------------------- >Comment By: Copsey (copsey) Date: 2005-05-05 13:03 Message: Logged In: YES user_id=1263750 I've uploaded a test task .cs file [Test2Task.cs]. If you look at, say, this property [BuildElement("size", Required=true)] public TextElement Size{...} When using this in an actual build, if I use a property instead of a literal in the build file, it is not expanded (it is treated as a literal). I would expect it to be expanded (as is the case when I use a TaskAttribute attribute on a property) ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2005-05-04 13:53 Message: Logged In: YES user_id=707851 Can you send me a repro and provide more information on the behaviour you were expecting ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187291&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers