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

Attachment: controller.build
Description: controller.build

Reply via email to