20

我们利用sandcastle(和SHFB)从内联 XML 注释生成类库文档。它是维护完整且专业的参考 + 概述文档(包括正确的代码示例)的绝佳工具。

不幸的是,它也很慢。这是迄今为止我们自动化构建中最耗时的步骤,并且开始受到影响。有什么办法可以加快速度吗?

4

2 回答 2

14

If you have SdkLinkType=Msdn (see properties of your SHFB project) sandcastle connects to MSDN documentation using web service. That may slooowww build down in case of connection troubles. You may try to set SdkLinkType=None to turn off building MSDN links (in that case you will not have links to MSDN in your help). In my case that improved my build time 5 times (2 minutes instead of 10 minutes).

于 2010-05-17T12:54:05.500 回答
6

CodePlex 的讨论组非常活跃且知识渊博。这是一个半主题帖子(虽然没有帮助):http ://sandcastle.codeplex.com/Thread/View.aspx?ThreadId=32267

于 2009-03-03T01:05:44.020 回答