How to suppress Visual Basic and C++ generation in Sandcastle Help File Builder

I’ve been using Sandcastle Help File Builder to generate documentation for my C# project. One obvious annoyance is that it creates documentation with prototypes in Visual Basic and C++ as well as C#. Since I’m working on a very small-scale project that won’t need to be accessed from other languages, this takes up valuable space on the screen, and selecting the languages when browsing the documentation doesn’t really work because it resets itself every time you browse to a new page.

There are plenty of references on the web to the fact that you can control this in SHFB, but it took me an awfully long time to find the appropriate setting in the GUI. It’s called SyntaxFilters, and you can simply choose the appropriate language from a drop-down list.

SHFB_SyntaxFilters

I guess it’s obvious once you know where it is.

One thought on “How to suppress Visual Basic and C++ generation in Sandcastle Help File Builder

Leave a Reply

Your email address will not be published. Required fields are marked *