1
Vote

Build Components Use Console.WriteLine

description

Some of the built-in Sandcastle Build Components, found in BuildComponents.dll, use Console.WriteLine when they should be calling base.WriteMessage instead. When build assembler is executed programmatically, such as with tools that don't run on the command-line, the output is lost. For example, when DocProject automates Sandcastle inside of Visual Studio all console output is ignored because Build Assembler is executed programmatically, in-proc.
 
Components that use Console.WriteLine during construction or in the Apply method:
  • DisplayComponent
  • SyntaxComponent
  • ExampleComponent
  • TaskGrabberComponent

comments