Microsoft KB Archive/820989

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

Article ID: 820989

Article Last Modified on 2/4/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * 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.



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

Note In Visual Studio 2005, click Visual C++ under Project Types. Under Templates, click Win32 Project. In the Name text box, type a name for the project. Click OK.  In the InitInstance function, paste the following code: unsigned int u = 3; bool b = u > nCmdShow; </li> On the Build menu, click Build Solution.</li>  In the Output window, view the build log. The last line appears as follows: <pre class="fixed_text">Build: 1 succeeded, 0 failed, 0 skipped </li></ol>

In Microsoft Visual C++ 6.0, the final summary line of the Build log contains the following line: <pre class="fixed_text">0 error(s), 1 warning(s) This line indicates the number of warnings that the compiler generated during the solution build.

Microsoft Visual C#
<ol> Start Visual Studio 2005 or Visual Studio .NET.</li> On the File menu, point to New, and then click Project.</li> Under Project Types, click Visual C# Projects.

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

Additional query words: summary done warning multiple

Keywords: kbide kbprb kbvs2005applies kbvs2005swept KB820989

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.