Microsoft KB Archive/820990

= External dependencies are not displayed in Solution Explorer in Visual C++ .NET or in Visual C++ 2005 =

Article ID: 820990

Article Last Modified on 1/12/2006

-

APPLIES TO


 * Microsoft Visual C++ 2005 Express Edition
 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ .NET 2002 Standard Edition

-



SYMPTOMS
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 Solution Explorer.



WORKAROUND
To work around this problem, use one of the following methods:
 * Method 1
 * In the code, right-click the statement that refers to the external file.
 * Click Open Document .
 * 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.



STATUS
Microsoft 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 &quot;stdafx.h&quot; preprocessor statement: Build the application. Notice that the External Dependencies folder does not appear in Solution Explorer for the perfci.h C or C++ header file.
 * 1) include &quot; \system32\perfci.h&quot; 

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.

Keywords: kbtshoot kbide kbprb KB820990

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.