Walkthrough: Creating Your First Project
This walkthrough will guide you through creating your first help file builder project.
Prerequisites
Before creating a help file builder project, be sure that you have installed all of the necessary tools and that you have enabled XML comments in your project and added some comments to your code.
New Projects
Creating a Brand New Project
Select File | New Project
In the Save As dialog box, select the folder in which to save the new project and enter its name. Click Save to create the new project. Once done, the Solution/Project Explorer Window and the Project Properties Window will be opened for you.
Ignore the properties window for now and right click on the Documentation Sources node in the Project Explorer. In the context menu, select Add Documentation Source. A documentation source is a file such as an assembly or a Visual Studio solution or project from which information will be extracted to produce API documentation. For this demo, navigate to the help file builder folder (typically C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder) and select the .\Tools\Sandcastle.Platform.Windows.dll assembly.
Now we will add a reference assembly to the project. References are assemblies that are dependencies of one or more of the documentation source assemblies. They contain information necessary to create inherited member information for the documented classes but that are themselves not wanted in the API documentation. Right click on the References node and select Add File/Project Reference. For this demo, navigate to the help file builder folder (typically C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder) and select the .\Tools\Sandcastle.Core.dll assembly.
You are now ready to build a basic help file. Select Documentation | Build Project to do so. The help file builder will open the Output Window and start displaying the messages from the build process. Depending on the number of documentation sources, the number of types and members in them, and some other factors, this can take several minutes or, in extremely large projects, several hours.
Once the build process finishes, you can select the Documentation | View Help File menu option to view the help file. The default View Help File option displays the help format based on which type or types where built (Help 1, MS Help Viewer, Markdown, or website). You can also select a specific help format to view if multiple formats were built as determined by the Help File Format project property.
If you created the project using the Visual Studio template, the project will contain a content layout file, logo image, and some default conceptual topics (a welcome page and simple version history). See the welcome topic for some general information on adding and managing conceptual content. See the Conceptual Content topic and its subtopics for more specific information on conceptual content. See the Sandcastle MAML Guide help file for more information on the MAML elements that are used to create conceptual topic files.
Next Steps
Now that you have created and built your first project, explore the other sections and topics in the help file to learn more about the other features available in the help file builder.