Generate documentation after build

Apr 27, 2012 at 9:52 PM

Good afternoon.

Personally, as is possible to generate the documentation after the build of the assembly, for example, I wanted the whole time I've compiled a dll generates its documentation in a given directory, it is possible?

Thank you.

Apr 28, 2012 at 7:39 PM

It depends on whether you're using something like the Sandcastle Help File Builder's Visual Studio package.  If so, you can add the documentation project to the same solution as your assembly's project and use Visual Studio's configuration manager and project dependencies options to have the documentation project build after the assembly's project within the same configuration settings (Debug, Release, etc.).  Typically, the documentation project takes a while to build so most people turn it off for the Debug build as it's a waste of time to build it after every change and wait for it to complete especially when trying to debug the main assembly's project.