Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
 Formatting the Output of a Custom B...
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual C++ Concepts: Building a C/C++ Program 
Formatting the Output of a Custom Build Step or Build Event 

If the output of a custom build step or build event is formatted correctly, users get the following benefits:

  • Warnings and errors are counted in the Output window.

  • Output appears in the Task List window.

  • Clicking on the output in the Output window displays the appropriate topic.

  • F1 operations are enabled in the Task List window or Output window.

The format of the output should be:

{filename (line# [, column#]) | toolname} : 
  [anytext] {error | warning} code####: Localizable String
   [
      any text
   ]

Where:

  • {a | b} is a choice of either a or b.

  • [optional] is an optional parameter

For example:

C:\sourcefile.cpp(134) : error C2143: syntax error : missing ';' before '}'

LINK : fatal error LNK1104: cannot open file 'somelib.lib'

See Also

Tags What's this?: build (x) custom (x) log (x) Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker