FIX: All the resource files are rebuilt when you rebuild a Visual C++ .NET 2003 project in Visual Studio .NET 2003 (893755)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), 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

SYMPTOMS

When you rebuild a Microsoft Visual C++ .NET 2003 project that has resource files in Microsoft Visual Studio .NET 2003, all the resource files are rebuilt. The resource files are rebuilt even if the resource files were not changed. When you rebuild a project, you may receive messages that are similar to the following in the Visual Studio .NET 2003 compiler output:Compiling resources...
Linking...

CAUSE

This problem occurs when the resource files contain an #include directive for a file name that does not exist on the computer where you rebuild the project.

For example, the resource files may contain code that is similar to the following lines of code.
#ifdef _WIN32
#include "windows.h"
#else
#include "youros.h"
#endif
In this example, if the youros.h file name does not exist on the computer where you rebuild the project, the rebuild causes the project to recompile and to link again.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio .NET 2003 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have Visual Studio .NET 2003 installed on the computer.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File 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-Feb-2005  16:38  7.10.4357.0  3,788,800  Msenv.dll
   24-Feb-2005  16:41  7.10.4357.0    602,624  Vcproject.dll
   24-Feb-2005  16:42  7.10.4357.0  1,836,032  Vcprojectengine.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MajorLast Reviewed:5/15/2006
Keywords:kbfix kbbug kbHotfixServer KB893755 kbAudDeveloper