In Visual C++ .NET or in Visual C++ 2005, the External Dependencies folder, which contains files that are not
part of the project but that are referenced in the project, does not appear in
To work around this problem, use one of the following methods:
- Method 1
- In the code, right-click the statement that refers to the
- Click Open Document <path of referenced file>.
- Method 2
- On the File menu, point to
Open, and then click File.
- In the Open
File dialog box, type the path of the external file that is referenced in
your project, and then click Open.
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Steps to Reproduce the Behavior
- Start Visual Studio .NET or Visual Studio 2005.
- Click File, point to New, and then click Project.
- Click Visual C++ Projects under Project Types, and then click Win32 Project under Templates.
Note In Visual Studio 2005, click Visual C++ under Project Types, and then click Win32 Project under Templates.
- In the default .cpp file, add the following code after the #include "stdafx.h" preprocessor statement:
#include "<system directory>\system32\perfci.h"
- Build the application. Notice that the External Dependencies folder does not appear in Solution Explorer for the perfci.h C or C++ header file.
To see the perfci.hfile in the External Dependencies folder in Visual C++ 6.0, click the FileView
tab of the Workspace
window after you build the project.
In Visual C++ 6.0, when a file is referenced that was not part of the project, but was
referenced in a file in the project, the file that is referenced is added to
the External Dependencies folder under the FileView
tab of the Workspace window. This helps to view the files that are not part of the project.
Article ID: 820990 - Last Review: January 12, 2006 - Revision: 2.0
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
|kbtshoot kbide kbprb KB820990|