2012-03-29 82 views
0

我想通過Sandcastle幫助文件生成器(http://shfb.codeplex.com/)使用SandCastle爲項目生成文檔。StackOverflowException嘗試使用SandCastle生成文檔時項目引用MassTransit

這是所有工作發現,直到我添加了一個對MassTransit(http://masstransit-project.com/)dll的引用。

一旦我這樣做,我得到一個Process is terminated due to StackOverflowException.

可能是什麼造成的?

完全SHFB以下的輸出:

------------------------------- 
[Sandcastle Help File Builder Utilities, version 1.9.1.0] 
Creating output and working folders... 
------------------------------- 
Finding tools... 
Found Sandcastle tools in 'C:\Program Files (x86)\Sandcastle\' 
------------------------------- 
Validating and copying documentation source information 
Source: C:\prj\Merged\MessageHandlerFramework\MessageHandlerFramework.csproj 
    Found project 'C:\prj\Merged\MessageHandlerFramework\MessageHandlerFramework.csproj' 
Source: C:\prj\Merged\MessageHandlerFramework\sandCastleDoc\MessageHandlerFramework.XML 

Parsing project files 
    Found assembly 'C:\prj\Merged\MessageHandlerFramework\bin\Debug\MessageHandlerFramework.dll' 

References to use: 
    MassTransit, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL 
    System 
    System.configuration 
    System.Core 
    System.Data 
    System.Data.DataSetExtensions 
    System.Xml 
    System.Xml.Linq 

Copying XML comments files 
    C:\prj\Merged\MessageHandlerFramework\sandCastleDoc\MessageHandlerFramework.XML -> C:\prj\Merged\documentation\Help\Working\MessageHandlerFramework.XML 
SHFB: Warning BE0063: 'C:\prj\Merged\MessageHandlerFramework\bin\Debug\MessageHandlerFramework.XML' matches a previously copied comments filename. The duplicate will be copied to a unique name to preserve the comments it contains. 
    C:\prj\Merged\MessageHandlerFramework\bin\Debug\MessageHandlerFramework.XML -> C:\prj\Merged\documentation\Help\Working\{b528b410-11ff-4d99-8c37-c992a185fb52} 
------------------------------- 
Generating shared content files (en-US, English (United States))... 
    Last step completed in 00:00:00.0070 
------------------------------- 
Generating API filter for MRefBuilder... 
    Last step completed in 00:00:00.0050 
------------------------------- 
Generating reflection information... 
[C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe] 
GenerateRefInfo: 
    MrefBuilder (v2.6.10621.1) 
    Copyright c Microsoft 2006 
    Info: Loaded 1 assemblies for reflection and 8 dependency assemblies. 

    Process is terminated due to StackOverflowException. 
    Last step completed in 00:00:11.9062 
------------------------------- 

SHFB: Error BE0064: BUILD CANCELLED BY USER 

回答

0

這顯然是在MRefBuilder組件的錯誤是固定在沙堡2.7.0.0

「固定TypeNode.NestedTypes,這樣就不會被卡住在一個無限循環中,當一個類型包含一個嵌套類型時,它自己在包含類型中實現一個嵌套類型。「

相關問題