使用.NET Framework 3.5,我有nant -0.91-alpha2,它支持框架3.5,但在尝试构建文档时出现以下错误。NDOC错误构建文档。
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>
你是如何调用NDoc的? –
<目标名称= “文档”> <属性名= “nant.settings.currentframework” 值= “净-3.5”/> <包括名称= “推出\ Project.dll”/> <包括名称= “推出\ project.xml中”/> <文档管理器名称= “MSDN”> // MSDN性质 资料员> –
RTN
如果您从任务调用NDoc可执行文件会发生什么情况? –
johnluetke