BUG: Resource Dependency Scans May Be IncompleteArticle ID: Q128834 The information in this article applies to:
SYMPTOMSFile dependencies generated by include statements in .R files may not be added to a Macintosh project. CAUSEProjects that target both Macintosh and Win32 may include resource (.R) files that are used in building the Macintosh target but that are not part of the Win32 build process. Here are two scenarios that may cause dependencies generated by .R files to be ignored:
In both these cases, the Win32 target tree is scanned to generate dependencies for the project. Because .R files are not part of the Win32 build process, a dependency on files included by .R files will not be updated correctly. RESOLUTIONTo update a dependency on files included in .R files, set the Target to Macintosh prior to choosing Update All Dependencies. STATUSMicrosoft has confirmed this to be a bug in Visual C++ version 2.0 Cross Development Edition for Macintosh. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONIn addition to the problems already mentioned, a dependency on a file may not be updated if the file contains //Template:NO DEPENDENCIES as the first line in the file. This preprocessor comment is frequently used in the RESOURCE.H file. It forces the development environment to ignore changes to the file. Keywords : kbMAC kbVC Version : 2.0 2.1 Platform : MACINTOSH NT WINDOWS Issue type : kbbug |
Last Reviewed: July 24, 1997 |