Compartir a través de


Part 2: Version Builder

In my previous blog https://blogs.msdn.com/sandcastle/archive/2007/10/03/sandcastle-september-2007-release-versionbuilder.aspx I provided details about Version Builder. I had several questions (https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2237661&SiteID=1) 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:

Versions

 

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

<!--versions-->

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

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

</xsl:if>

<!-- see also -->

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

Hope this helps. Cheers.

Anand..

versample.zip

Comments