Reputation: 449
as part of our build process i would like to write a batch file that run the Sandcastle in one of our dll, i know how to do it by the gui, and i'm wondering if there is nay way todo it by commad line
thanks Tova
Upvotes: 1
Views: 3107
Reputation: 115
Been a while and SFHB has moved from codeplex to github
For command line options please have a look in the Sandcastle Help File Builder Documentation, paragraph Building Projects Outside the GUI
You can use MSBuild.exe or dotnet.exe with the build command line options Check the documentation
Even with smaller projects I'd advice against to use the post build event as the XML documentation can grow fairly large and a take little while to complete
Upvotes: 0
Reputation: 1648
You might consider invoking sandcastle help file builder via MsBuild as a post build event, as discussed in this question: Build Sandcastle Documentation When Building Visual Studio Project. Sandcastle help file builder project files (.shfb) are actually valid msbuild files. You can generate shfb files with the Visual Studio integration or Sandcastle Help File Builder GUI as msorens mentions, and you can make a call like: msbuild My_SHFB_Project.shfbproj
at the command line. You can find more at http://shfb.codeplex.com/
Upvotes: 3