Adding another .css without changing Sandcastle files

Jan 14, 2009 at 6:29 PM
Does anyone know a way to add another external .css file to sandcastle without changing the .xsl files for sandcastle?  I am trying to minimize changes we make so when a new version comes out we do not need to reapply our changes.

Currently I am editing Presentation\vs2005\transforms\utilities_reference.xsl to add another entry in <xsl:template name="insertStylesheets">.

The reason for adding a new style sheet was to add a custom style to div.summary.  Please let me know if you know a better way.

Thank you,
Aron
Jan 14, 2009 at 8:36 PM
Hi Aron,

The nature of generating HTML pages using XSLT is that you must update the XSLT to change the HTML.  There are more indirect ways in Sandcastle that you can use to insert HTML but I'd just recommend updating the XSLT directly in this case.

- Dave
Jan 14, 2009 at 10:31 PM
>>Aron: Does anyone know a way to add another external .css file to sandcastle without changing the .xsl files for sandcastle?
The custom build components in the Sandcastle Assist project: http://www.codeplex.com/SandAssist provide that feature.
You can add both stylesheet and javascript files.
They are not used released (meaning no official documentations) but those features are complete, you can see a demo in this
preview release
http://www.codeplex.com/SandAssist/Release/ProjectReleases.aspx?ReleaseId=20308

Best regards,
Paul.