? generate CHM Document Tool-Sandcastle-from the network

Source: Internet
Author: User

Sandcastle is Microsoft's Official document generation tool, which seems to be the only tool in this area after NDoc development has stopped. It can generate complete help documents from DLL files and their XML comment files, supporting multiple generation formats (Helpe1x:chm, HELPER2X:HXS, Website,helperview), combined with the newly released sandcastle helps file Builder visualizer, the entire build process is very simple, and the SHFB tool looks very powerful, not only can directly configure the various properties of the generated document, but also support very flexible extension settings, to provide us with perfect. NET class Library document becomes a possibility.

Http://sandcastle.codeplex.com/documentation

Introduction to the Generating CHM documentation tool

Sandcastle is Microsoft's Official document generation tool, which seems to be the only tool in this area after NDoc development has stopped. It can generate complete help documents from DLL files and their XML comment files, supporting multiple generation formats (Helpe1x:chm, HELPER2X:HXS, Website,helperview), combined with the newly released sandcastle helps file Builder visualizer, the entire build process is very simple, and the SHFB tool looks very powerful, not only can directly configure the various properties of the generated document, but also support very flexible extension settings, to provide us with perfect. NET class Library document becomes a possibility.

Download the tool from here:

sandcastle:http://sandcastle.codeplex.com/, click on the right side of the download we all know.

Sandcastle Help File builder:http://shfb.codeplex.com/

I found a vs plugin in SHFB's compression package, so I'm going to use vs to demonstrate that if you don't want to install the plugin, you can run C:\Program Files (x86) \ewsoftware\sandcastle help File Builder \sandcastlebuildergui.exe This program, the results are the same

To generate a CHM document

Come on, open vs, New project:

Click OK, the project structure on the right:

Choose Contentlayout.content, look to the left, there are some document properties and version numbers and other information, but we do not use here, so delete. If it's okay to keep it, it's just a few more lines in the head when the document is generated, and interested friends can continue to study.

Select the assembly for which you want to generate the document (the corresponding XML is automatically added).

Right-click the project selection properties:

So far there is nothing but the wind. So where is the east wind? Very simple, build the project. If there is no error in the build process, you will see it under the Help folder in the project directory:

Open the test document:

? generate CHM Document Tool-Sandcastle-from the network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.