Automatically put version number to HelpTitle

Topics: User Forum
Jun 12, 2012 at 3:12 AM

I'd like to automatically append the version number (major.minor) from our main assembly to the HelpTitle, so that it appears in every page of the generated documentation.

Is there a way to do this?

Coordinator
Jun 12, 2012 at 8:36 PM

There isn't a way to do it automatically based on the documentation sources.  You can define one or more custom properties in the project and override them at build time either using command line options or perhaps an MSBuild task that updates or overrides them.  To put the values in the HelpTitle, you'd use the tag substitution feature:  My Help File v{@HelpTitleVersion}  or  My Help File v{@MajorVersion}.{@MinorVersion}.

Eric