Knowledge Base

FIX: Custom Build Rule Not Saved for File Excluded from Build

Article ID: 167324

Article Last Modified on 12/2/2003


APPLIES TO


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.

Additional query words: custom build

Keywords: kbbug kbfix kbnoupdate kbide KB167324