1
Vote

ReflectionToChmContents.xsl Removed from March CTP

description

I am trying to get the MSBuild script for Sandcastle working with the March CTP, but I am not sure what transform replaces the removed ReflectionToChmContents.xsl
 
I am new to Sandcastle and trying to get to grips with a lot of new concepts. The MSBuild script chokes if I leave in the line
<Exec Command=""$(SandcastleBin)\XslTransform" /xsl:"$(SandcastleTransforms)\ReflectionToChmContents.xsl" reflection.xml /arg:html=$(HelpOutputPath)\html /out:$(HelpOutputPath)\$(HelpName).hhc"/>
 
If I comment it out no hhc file is genereated for the Help compiler contents. I am sure I need to replace the transform with another but can't find which one.
 
Has anyone else had any luck with the March CTP yet?
 
Thanks

comments

evahala wrote May 1, 2007 at 11:46 AM

You can get rid of the error if you edit the targets file to include calls to "createvstoc.xsl /arg.. /out:toc.xml" (or createPrototypetoc) followed by "TocToChmContents.xsl toc.xml /arg.. /out:$(HelpOutputPath)\$(HelpName).hhc" instead of ReflectionToChmContents.

succhu wrote Oct 16, 2007 at 6:05 PM

hi I tried the above and end of getting the following error

Target GenerateHHTOC:
"C:\Program Files\Sandcastle\\ProductionTools\XslTransform" /xsl:"C:\Program Files\Sandcastle\\ProductionTransforms\createvstoc.xsl" "C:\Program Files\Sandcastle\\Examples\Sandcastle\reflection.xml"  /out:Help\toc.xml
XslTransform (v2.2.64000.4)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\\ProductionTransforms\createvstoc.xsl'.
"C:\Program Files\Sandcastle\\ProductionTools\XslTransform" /xsl:"C:\Program Files\Sandcastle\\ProductionTransforms\TocToChmContents.xsl" "Help\toc.xml" /arg:html=Help\html /out:Help\test.hhc
XslTransform (v2.2.64000.4)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\\ProductionTransforms\TocToChmContents.xsl'.
"C:\Program Files\Sandcastle\\ProductionTools\XslTransform" /xsl:"C:\Program Files\Sandcastle\\ProductionTransforms\ReflectionToChmIndex.xsl" "C:\Program Files\Sandcastle\\Examples\Sandcastle\reflection.xml" /arg:html=Help\html /out:Help\test.hhk
XslTransform (v2.2.64000.4)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\\ProductionTransforms\ReflectionToChmIndex.xsl'.
"C:\Program Files\Sandcastle\\ProductionTools\XslTransform" /xsl:"C:\Program Files\Sandcastle\\ProductionTransforms\ReflectionToChmProject.xsl" "C:\Program Files\Sandcastle\\Examples\Sandcastle\reflection.xml" /arg:html=Help\html /out:Help\test.hhp
XslTransform (v2.2.64000.4)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\\ProductionTransforms\ReflectionToChmProject.xsl'.
Target CompileCHM:
"C:\Program Files\HTML Help Workshop\hhc" test.hhp
Microsoft HTML Help Compiler 4.74.8702



Compiling c:\SandcastleTest\Help\test.chm



HHC5003: Error: Compilation failed while compiling html\.htm.

HHC6000: Error: An internal file could not be created. Make certain there is enough disk space on the drive where you are compiling your file.

HHC5007: Error: Fatal navigational compilation error. This is likely the result of an invalid contents (.hhc) file.

The following files were not compiled:

html\.htm
and my toc.xml is empty.

wrote Feb 13, 2013 at 3:43 AM