[NAnt-users] NAnt.Core.Project

2011-06-24 Thread Obendorf, Keston
I'm trying to make a custom Nant task that may end up calling another Nant build file. I create the project like so: NAnt.Core.Project buildProject = new NAnt.Core.Project(BuildfilePath, NAnt.Core.Level.Info, 1); buildProject.Execute(BuildfileTarget); This will not execute the target, giving t

[NAnt-users] Writing to logs within NAnt Custom Tasks

2011-06-24 Thread Macdiarmid, James D.
Has anyone used the following statement or something similar in their Custom NAnt Tasks? I'm able to use it in one of my tasks for ConnectionInformation (for connecting to TFS) but can't seem to use it fully in another task class. Whenever it executes it gets a NullReferenceException on the Lev