Warnings do not appear in the final summary line of the solution build log in Visual Studio 2005 or in Visual Studio .NET (820989)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

In Microsoft Visual Studio 2005 or in Microsoft Visual Studio .NET, the warnings that the compiler generates do not appear in the final summary line of the solution build log.

WORKAROUND

To view the warnings that the compiler generates during the solution build for a multiproject solution, scroll through the build log. You can also view these warnings in the Task List window.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

Microsoft Visual C++

  1. Start Visual Studio 2005 or Visual Studio .NET.
  2. On the File menu, point to New, and then click Project.
  3. Under Project Types, click Visual C++ Projects.

    Note In Visual Studio 2005, click Visual C++ under Project Types.
  4. Under Templates, click Win32 Project.
  5. In the Name text box, type a name for the project. Click OK.
  6. In the InitInstance function, paste the following code:
    unsigned int u = 3;
    bool b = u > nCmdShow;
  7. On the Build menu, click Build Solution.
  8. In the Output window, view the build log. The last line appears as follows:
    Build: 1 succeeded, 0 failed, 0 skipped
In Microsoft Visual C++ 6.0, the final summary line of the Build log contains the following line:
0 error(s), 1 warning(s)
This line indicates the number of warnings that the compiler generated during the solution build.

Microsoft Visual C#

  1. Start Visual Studio 2005 or Visual Studio .NET.
  2. On the File menu, point to New, and then click Project.
  3. Under Project Types, click Visual C# Projects.

    Note In Visual Studio 2005, click Visual C# under Project Types.
  4. Under Templates, click Console Application, and then click OK.
  5. Open the Class1.cs file, and then paste the following code in the Main function:
    Int32 i = 0;
  6. On the Build menu, click Build Solution.
  7. In the Output window, view the build log. The last line appears as follows:
    Build: 1 succeeded, 0 failed, 0 skipped

Modification Type:MajorLast Reviewed:2/4/2006
Keywords:kbvs2005applies kbvs2005swept kbide kbprb KB820989 kbAudDeveloper