Microsoft KB Archive/820995

= You cannot locate the complete path of the source file in a Visual C++ .NET or Visual C++ 2005 project =

Article ID: 820995

Article Last Modified on 1/17/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 Microsoft Visual C++ .NET or in Microsoft Visual C++ 2005, you cannot locate the complete path of the source file in the Property Pages dialog box. When multiple files with the same name exist in different folders, you might not be able to identify the exact file that the compiler might use.



RESOLUTION
To identify the complete path of the source file in Visual C++ .NET or in Visual C++ 2005, follow these steps:
 * 1) Start Microsoft Visual Studio .NET or Microsoft Visual Studio 2005.
 * 2) On the File menu, point to New, and then click Project.
 * 3) Click Visual C++ Projects under Project Types, and then click Win32 Project under Templates. Accept the default settings.

Note In Visual Studio 2005, click Visual C++ under Project Types, and then click Win32 Project under Templates.
 * 1) In Solution Explorer, click Source Files.
 * 2) On the View menu, click Properties Window or Press F4.

You may notice the complete path of the source file in the Properties pane.



STATUS
This behavior is by design.



MORE INFORMATION
To identify the complete path of the source file in Microsoft Visual C++ 6.0, follow these steps:
 * 1) Right-click the source file in the workspace.
 * 2) Click Properties. The Properties dialog box appears with the complete path of the source file.

Steps to Reproduce the Behavior
To reproduce the behavior in Visual Studio .NET, follow these steps:
 * 1) Start Visual Studio .NET or Visual Studio 2005.
 * 2) On the File menu, point to New, and then click Project.
 * 3) Click Visual C++ Projects under Project Types, and then click Win32 project under Templates. Accept the default settings.

Note In Visual Studio 2005, click Visual C++ under Project Types, and then click Win32 Project under Templates.
 * 1) Expand Solution Explorer.
 * 2) In the Project pane, right-click a source file, and then click Properties.

You may notice that the complete path of the source file does not exist in the Properties Pages dialog box.

Additional query words: source; path; solution; explorer; pane

Keywords: kbdir kbprb kbideproject KB820995

-

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

© Microsoft Corporation. All rights reserved.