Here are the steps to create a Chm build using Sandcastle. Please see the atatchment for the steps in text format.
Sandcastle can read authored triple-slash comments embedded in source files.
cd \Program Files\Sandcastle\Examples\Sandcastle
In this directory, you will find only a single C# file called test.cs under Examples\sandcastle directory.
csc /t:library /doc:comments.xml test.cs
MRefBuilder test.dll /out:reflection.org
For building using VS2005 transforms please use the following:
XslTransform /xsl:"..\..\ProductionTransforms\ApplyVSDocModel.xsl" reflection.org /xsl:"..\..\ProductionTransforms\AddFriendlyFilenames.xsl" /out:reflection.xml For building using prototype transforms please use the following:
XslTransform /xsl:..\..\ProductionTransforms\ApplyPrototypeDocModel.xsl reflection.org /xsl:..\..\ProductionTransforms\AddGuidFilenames.xsl /out:reflection.xml
XslTransform /xsl:..\..\ProductionTransforms\ReflectionToManifest.xsl reflection.xml /out:manifest.xml
call ..\..\Presentation\vs2005\copyOutput.bat
For building using prototype transforms please use the following:
call ..\..\Presentation\Prototype\copyOutput.bat
BuildAssembler /config:sandcastle.config manifest.xml
to generate topic files in HTM.
XslTransform /xsl:..\..\ProductionTransforms\ReflectionToChmProject.xsl reflection.xml /out:Output\test.hhp
XslTransform /xsl:..\..\ProductionTransforms\createvstoc.xsl reflection.xml /out:toc.xml For building using prototype transforms please use the following:XslTransform /xsl:..\..\ProductionTransforms\createPrototypetoc.xsl reflection.xml /out:toc.xml
XslTransform /xsl:..\..\ProductionTransforms\TocToChmContents.xsl toc.xml /out:Output\test.hhc
XslTransform /xsl:..\..\ProductionTransforms\ReflectionToChmIndex.xsl reflection.xml /out:Output\test.hhk
Bugs/Feature Requests: