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



The information in this article applies to:

  • 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 .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.

RESOLUTION

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

STATUS

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.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbvs2002sp1sweep kbvs2002sp1fix kbfix kbBug kbVSNetPreSP1fix kbQFE KB814034 kbAudDeveloper