Suggestion: Customizing XSL Transformation Per Project

May 12, 2014 at 1:03 AM
Edited May 12, 2014 at 1:05 AM
Why not add a way to change the transform main_sandcastle.xsl file path so it points inside the project folder instead of the static reference to the install folder?

Why not an additional item under the Transform Args project properties tab?
May 12, 2014 at 2:58 AM
Edited May 12, 2014 at 3:01 AM
I implemented BuildReferenceTopics target override (As I did for TransformManifest... discussed in another topic) then in a BeforeBuildReferenceTopics target override I:
1-copy the presentation style to the working folder
2-Copy my overrides found in my SHFB prohect folder
3-Change the main_sandcastle.xsl location (in the custom sandcastle.config) to the working folder.

This allows me to override the "utilities_reference.xsl" file for instance, while benefiting of the new sandcastle presentation style updates.

Hard-coding wasn't an option in my case. The reason is that I have multiple SHFB projects using the same presentation style in different ways. Also, I report to someone meaning I can`t use sloppy workarounds.
Jun 19, 2014 at 9:04 PM
I would also like this functionality.