Why has TaskBuilder become internal?

I need to be able to manipulate task definitions and can no longer do
this. If I want to replace the task which is defined under the taskname
"csc" - how can I do that?

Our current code is this:

TaskBuilder currentCSC = TypeFactory.TaskBuilders["csc"];
TaskBuilder newCSC = new TaskBuilder("Clover.Nant.CloverCSCTask",
Assembly.GetExecutingAssembly().Location);

TypeFactory.TaskBuilders.Remove(cscBuilder);
TypeFactory.TaskBuilders.Add(newCSC);

The latest NAnt code in CVS has broken this.

Conor
(Sorry if this is a dupe - first attempt is in moderation)




------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to