This project has moved. For the latest updates, please go here.

Post-Build Command Line

Topics: Developer Forum, User Forum
Jul 25, 2012 at 3:25 PM

Is it possible to run an external program once help documentation has been built?

I have written a program which post-processes the output of Sandcastle which works great; but if possible I would like to fully automate this process by having SHFB automatically run my program.

Many thanks!

Jul 25, 2012 at 4:10 PM

You could create a plug-in for SHFB.  See the Creating Build Process Plug-Ins help topic for more information.  You could model it after the output deployment or completion notification plug-ins which have a similar execution behavior if you need a working example.



Jul 25, 2012 at 4:15 PM

Awesome, it looks like it will be reasonably straightforward to implement using this approach. In fact probably even easier because I can move my post-processing logic into the SandCastle plugin directly.

Thanks, this has helped a lot!