SandCastleについて その2 ― 2007年07月24日 09時35分29秒
SandCastleで作ったHtmlHelp2.x形式のヘルプでTableOfContents(目次)が作成されないようなのでMSDNLibraryの目次のところに自作のヘルプがひょうじされません。これを表示するのにはどうすればいいのか悩んでいます。 調べてる内に以下の記述が見つかったので引用します。 HxTという拡張子のファイルが必要なのだろうか?
HxComp (Microsoft Help 2.0 Compiler):
HxComp compiles the Sandcastle target files into an HxS/HxI pair of files. The HxS generation requires a few more project definition files than the CHM case. Sandcastle provides these definition files. Joe begins by executing a script to copy these definition files in to the output directory:
..\copyHavana.bat
Like the CHM case, though, Joe must create file that defines the packaged table of contents (HxT). This is accomplished by a simple transform of the reflection data file.
XslTransform ..\..\ProductionTransforms\ReflectionToHxSContents.xsl reflection.xml /out:Output\test.HxT
Finally, Joe invokes the Help 2.0 compiler to create an HxS file.
cd Output
and then
hxcomp –p test.HxC –l test.log
This creates the file test.hxs containing his documentation.
Published Sunday, August 06, 2006 8:56 PM by aram Filed under: Running Builds
