Part 2: Version Builder


In my previous blog I provided details about Version Builder. I had several questions ( about this feature. Attached is an example of versionbuilder. Here are the steps to run it.

  1. Unzip it to “c:\program file\sandcastle\examples”;

  2. Run command to get version-specific reflection file: > runversionbuilder.bat

  3.  Run command to build chm: > build_sandcastle.bat vs2005 test;

In this example, the method “swap(T)” is supported only in 2.0 version, other methods are supported in both 2.0 and 1.1. See image below:




The following lines should be added to vs2005\transforms\main_sandcastle.xsl and this will be fixed in the October release


    <xsl:if test="not($group='list' or $group='namespace' or $group='root' )">

      <xsl:apply-templates select="/document/reference/versions" />


    <!-- see also -->

    <xsl:call-template name="seealso" />


Hope this helps. Cheers.



Skip to main content