使用.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