Re: [NAnt-users] NAnt.Core.Project

2011-06-27 Thread Obendorf, Keston
Hooray for open source. I checked out the 'nant' task source code and it appears that this is the proper way to use Project to run something: NAnt.Core.Project buildProject = new NAnt.Core.Project(...); buildProject.BuildTargets.Add(...); buildProject.Run();

Re: [NAnt-users] NAnt.Core.Project

2011-06-27 Thread Wilson, Brian
I have never used the C# references before, so I am not able to confirm if they work. For calling another Nant build, I use the task. http://nant.sourceforge.net/release/latest/help/tasks/nant.html I'll look and see if anyone has used this before. Brian Wilson Department of Human Resources

Re: [NAnt-users] NAnt.Core.Project

2011-06-27 Thread Obendorf, Keston
The call is being made from a custom NAnt task I coded in C#. From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Monday, June 27, 2011 5:43 AM To: Obendorf, Keston; nant-users@lists.sourceforge.net Subject: RE: NAnt.Core.Project Are you making this call from a C# program? Or, do you

Re: [NAnt-users] NAnt.Core.Project

2011-06-27 Thread Wilson, Brian
Are you making this call from a C# program? Or, do you have a task in your build file that is coded in C#? Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.gov From: Obendorf, Keston [mailto:keston.obend...@intel.com] Sent: Friday