FIX: Custom Build Rule Not Saved for File Excluded from Build (167324)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q167324

SYMPTOMS

When a file has custom build rules associated with it and the file is excluded from the build, the custom build rules are not saved when the project is closed.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This problem was corrected in Microsoft Visual C++ .NET.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new ATL COM project named ATLCOM.
  2. On the Build menu, click Settings, and then click the General tab. Exclude atlcom.idl from build for all configurations.
  3. Close and reload the workspace.
  4. On the Build menu, click Settings, and then click the Custom Build tab and notice that the custom build rule for atlcom.idl isn't there.

Modification Type:MajorLast Reviewed:12/2/2003
Keywords:kbBug kbfix kbide kbNoUpdate KB167324