NDOC错误构建文档。

时间:2011-08-22 10:22:16

标签: c# nant ndoc

使用.NET Framework 3.5,我有nant -0.91-alpha2,它支持框架3.5但是当我尝试构建文档时出现以下错误。

Error building Documentation.
       Object reference not set to an instance of object.
               Object reference not set to an instance of object

文档将由以下内容生成:

<target name="Documentation"> 
  <property name="nant.settings.currentframework" value="net-3.5"/> 
  <ndoc> 
    <assemblies> 
      <include name="Release\Project.dll" /> 
    </assemblies> 
    <summaries> 
      <include name="Release\Project.XML" /> 
    </summaries>
    <documenters> 
      <documenter name="MSDN"> //MSDN properties 
      </documenter> 
    </documenters> 
  </ndoc> 
</target>

1 个答案:

答案 0 :(得分:0)

NDoc不支持.NET 3.5

看看SandCastle