Hi, I think the problem then is the BANC.Infrastructure.Controller.xml file is not being generated by the csc task. Have you tried specifying a full path with the doc attribute, or using a path with the separator in the other direction? There may be an issue with generating the path to the target specified in the doc attribute.
Also, just to verify, your ndoc task generates an error output that looks something like this: BUILD FAILED C:\path\to\build\file\my.build(159,10): [ndoc] Error building documentation. Error reflecting against the BANC.Infrastructure.Controller.dll assembly: Could not find file "c:\path\to\bin\directory\BANC.Infrastructure.Controller.xml". Another suggestion would be to locate the NAnt.exe.config file and follow the inline instructions to turn debugging on. Clayton -----Original Message----- From: Ballal, Pradeep(STP) [mailto:[EMAIL PROTECTED] Sent: July 17, 2003 8:38 PM To: Clayton Harbour; NAnt Users (E-mail) Subject: RE: [Nant-users] NAnt csc task does not generate the xml documentation file... Hi, Thanks for such a quick response... I was trying to build one assembly of the actual project we are trying to build... here is the build file [attached]. I did check if the xml file is being generated...but no it is not. Do I need NDoc itself to be installed before I can use the ndoc task ? The version of NAnt I am using is - 0.8.2.21794 I downloaded this from the homepage of nant - http://nant.sourceforge.net I dont know if the version that I am using a wrong version of nant, but I reckon it told me last stable build. Otherwise the build works just great, and the people here are excited about it. Please help !!! cheers, Pradeep -----Original Message----- From: Clayton Harbour [mailto:[EMAIL PROTECTED] Sent: Thursday, 17 July 2003 7:18 PM To: Ballal, Pradeep(STP); NAnt Users (E-mail) Subject: RE: [Nant-users] NAnt csc task does not generate the xml documentation file... Hi, Could you please send the build file, or at least the entire tasks that are giving you trouble, and some information about the version of nant that you are using? It just helps in debugging. I am going to guess a little bit in the meantime, it looks like the csc target that you have is correct, assuming the rest looks like this (content, not format of course): <csc target="library" output="../bin/BANC.Infrastructure.Controller.dll" doc="../bin/BANC.Infrastructure.Controller.xml" debug="false"> <sources> <includes name="**/*.cs" /> </sources> <references> <includes name="Your.dll"> </references> </csc> Can you visually verify that the xml file is NOT being generated? If it is being generated you might want to check the ndoc task to make sure you are specifying an assembly and not the xml filename: <ndoc> <assemblies basedir="${build.dir}/bin"> <includes name="Your-assembly.dll"/> </assemblies> <documenters> <documenter name="MSDN"> .... If that does not help please send the task. Thanks, Clayton -----Original Message----- From: Ballal, Pradeep(STP) [mailto:[EMAIL PROTECTED] Sent: July 17, 2003 12:07 AM To: NAnt Users (E-mail) Subject: [Nant-users] NAnt csc task does not generate the xml documentation file... Hi, I am beginning to use NAnt, and the csc task does not generate the xml documentaion file. I have included the following attributes witht he csc task <csc target="library" output="../bin/BANC.Infrastructure.Controller.dll" doc="../bin/BANC.Infrastructure.Controller.xml" debug="false"> ... the ndoc task is failing becuase it does not find the BANC.Infrastructure.Controller.xml file...that the compiler is expected to output... ??? thanks in advance. cheers ears, pradeep ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users