James, Justin wrote:

Ian

Here is the csc and ndoc tasks from my build file.


well that mostly looks ok. The only thing I can think of is that :

        <assemblies basedir="build/bin">
               <include name="bin/NAnt.Core.dll" />
                   <include name="Nant.MyTasks.dll" />
               </assemblies>
         <documenters>

probably won't include NAnt.Core.dll unless you have a build/bin/bin directory.
I ran your build file substituting NAnt.MSNetTasks for Nant.MyTasks.dll and it 
all worked ok. Can you verify that build/bin/Nant.MyTasks.xml gets created and 
contains the appropriate comments ?

Ian


<csc target="library" warnaserror="true" debug="true" define="" 
output="build/bin/Nant.MyTasks.dll" doc="build/bin/Nant.MyTasks.xml">
           <nowarn>
               <!-- do not report warnings for missing XML comments -->
               <warning number="1591" />
               <!-- do not report deprecation warnings -->
               <warning number="0618" />
           </nowarn>
           <sources>
   <exclude name="tests/**/*.cs" />
   <include name="**/*.cs" />
           </sources>
           <references>
               <include name="bin/NAnt.Core.dll" />
               <include name="bin/NAnt.DotNetTasks.dll" />
               <include name="bin/log4net.dll" />
                <include name="Microsoft.SqlServer.DTSPkg80.dll" />

           </references>
       </csc>


<target name="doc" depends="build" description="build documentation">
<ndoc>
<assemblies basedir="build/bin">
<include name="bin/NAnt.Core.dll" />
<include name="Nant.MyTasks.dll" />
</assemblies>
<documenters>
<documenter name="NAnt">
<property name="OutputDirectory" value="build/doc/help" />
<property name="SdkDocVersion" value="SDK_v1_1" />
<property name="SdkLinksOnWeb" value="true" />
<!-- set base uri used for linking to other NAnt docs -->
<property name="NAntBaseUri" value="../" />
<!-- do not filter on namespace -->
<property name="NamespaceFilter" value="Nant.MyTasks" />
<!-- set the name and version of the product for which docs are generated -->
<property name="ProductName" value="My Nant Tasks" />
<property name="ProductVersion" value=".85" />
<property name="ProductUrl" value="http://nant.sourceforge.net"; /> <property name="Preliminary" value="${not(project.release.type == 'release')}" />
<property name="DocumentAttributes" value="True" />
<property name="IncludeAssemblyVersion" value="True" />
<property name="ShowMissingParams" value="True" />
<property name="ShowMissingReturns" value="True" />
<property name="ShowMissingValues" value="True" />
</documenter>
</documenters>
</ndoc>
</target>








-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to