FIX: Nmake /k returns success in a failure condition when you have targets in multiple description blocks in Visual Studio .NET 2002

This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Visual Studio .NET 2002, you can use the Nmake accessory application (Nmake.exe) with the /k switch to continue to build an application project after one section fails. However, if you have defined multiple description blocks for a target, and if a failure occurs on only one of the description blocks, Nmake returns 0 instead of 1.

Note A return value of 0 indicates success and a return value of 1 indicates failure.

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version     Size    File name   -------------------------------------------------   24-Jan-2003  00:32  7.0.9660.0  81,920  Nmake.exe
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Article ID: 814034 - Last Review: 10/26/2013 18:11:29 - Revision: 2.1

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

  • kbnosurvey kbarchive kbbug kbfix kbqfe kbvsnetpresp1fix kbvs2002sp1sweep kbvs2002sp1fix kbhotfixserver KB814034