Navigation

Search

Popular Posts

My Dot Net Developer’s tools
Removing unused CSS
Using Test Impact Analysis
Creating MSDN like help

Twitter Updates

Categories

On this page

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 34
This Year: 3
This Month: 0
This Week: 0
Comments: 17

Sign In

 Friday, April 17, 2009
Friday, April 17, 2009 6:19:14 AM (Mountain Standard Time, UTC-07:00) ( .net | sandcastle )

Just follow these simple steps ( I am using the Ajaxcontroltoolkit library as an example here)

 

1. Download Sandcastle (http://www.codeplex.com/Sandcastle).

2. Download and install Sandcastle Help File Builder (http://www.codeplex.com/Wiki/View.aspx?ProjectName=SHFB).

3. Check http://www.ewoodruff.us/shfbdocs/Index.aspx?topic=html/8c0c97d0-c968-4c15-9fe9-e8f3a443c50a.htm for other requirements. If you have Visual Studio installed, you should probably be good.

4. Run SandcastleBuilderGUI.exe, Create a new project and save it in the same location as your solution file. You can add it to the solution for easier version control maintenance.

5. Add your main assemblies to be documented using the Add button. Make sure your Visual studio project for that assembly is set up to generate xml documentation file (Project->Properties->Build->XML Documentation file should be checked).

6. In Project Properties within Sandcastle Help File Builder

a. Under Build -> Dependencies, Add the folder containing all the referenced assemblies, or add them individually.

b. Select the correct version under Build ->FrameworkVersion.

c. Under Build -> HelpFileFormat, choose the output type (chm and/or website).

d. Under Help File, you can add things like copyright, header, footer, feedback email address etc.

e. Set visibility for different type of members under Visibility.

7. At this point you can build project within Sandcastle Help File Builder to create help file manually. You can see an example of sample output here.

8. To create the help file from the command prompt, use SandcastleBuilderConsole.exe and pass the path to the help project file as a parameter. E.g.

"C:\Program Files\EWSoftware\Sandcastle Help File Builder\sandcastlebuilderconsole.exe" "C:\utils\libs\ajaxcontroltoolkit_help.shfb".

This can be used in a post-build event to automate the generation of help files.

kick it on DotNetKicks.com
Comments are closed.